}
} else if (isDate(items[z].getText(index))) {
try{
GDDate calendar1 = new GDDate(value1);
GDDate calendar2 = new GDDate(value2);
if ((order == 0) ? calendar2.beforeDay(calendar1) : calendar2.afterDay(calendar1)) {
String[] values = { items[z].getText(0), items[z].getText(1), items[z].getText(2), items[z].getText(3), items[z].getText(4), items[z].getText(5), items[z].getText(6), items[z].getText(7), items[z].getText(8) };
Image[] images = {items[z].getImage(0), items[z].getImage(1), items[z].getImage(2), items[z].getImage(3), items[z].getImage(4), items[z].getImage(5), items[z].getImage(6), items[z].getImage(7), items[z].getImage(8)};
Color[] color = { items[z].getForeground(0), items[z].getForeground(1), items[z].getForeground(2), items[z].getForeground(3), items[z].getForeground(4), items[z].getForeground(5), items[z].getForeground(6), items[z].getForeground(7), items[z].getForeground(8)};
items[z].dispose();
TableItem item = new TableItem(table, SWT.NONE, j);