DateTimeIteratorFactory.dateValueToDateTime(
new DateTimeValueImpl(2006, 10, 13, 12, 30, 1)));
}
public void testDateToDateTimeValue() throws Exception {
assertEquals(new DateTimeValueImpl(2006, 10, 13, 0, 0, 0),
DateTimeIteratorFactory.dateTimeToDateValue(
dateTime(2006, 10, 13, 0, 0, 0)));
assertEquals(new DateTimeValueImpl(2006, 10, 13, 12, 30, 1),
DateTimeIteratorFactory.dateTimeToDateValue(
dateTime(2006, 10, 13, 12, 30, 1)));
}