@Test
public void testToDate() {

	Date emptyDate = empty.toDate();
	Date date1 = t1.toDate();
	Date date2 = t2.toDate();
	Date date3 = t3.toDate();
	assertEquals(0l, emptyDate.getTime());
	assertEquals(10200l, date1.getTime());
	assertEquals(0l, date2.getTime());
	assertEquals(10000l, date3.getTime());
}