Interface DateObject

All Superinterfaces:
AtomicObject, ChronologicObject, DataObject, PropertyHandler
All Known Implementing Classes:

public interface DateObject extends ChronologicObject
A DateObject represents a Date as value. The native object is java.sql.Date and not java.util.Date because of java.util.Date also includes time informations. Consquently, this class contains only the date without any time information. To have the same feature as java.util.Date use the TimeStampObject instead.

A detailed description can be found in the DateClass.


 Date date = new Date();
 date == getNativeDate(); // can fail, because of internal reformating
 date.equals(getNativeDate()) //can also fail, because the time information could be removed
Rainer Maximini
See Also: