Interface TimeObject

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

public interface TimeObject extends ChronologicObject
A TimeObject represents a time as value.

The native object is java.sql.Time and not java.util.Date because of java.util.Date also includes date informations. Consequently, this class contains only the time without any date information. To have the same feature as java.util.Date use the TimeStampObject instead.


 Time Time = new Time();
 Time == getNativeTime(); // fails, because of internal reformating
 Time.equals(getNativeTime()) //can also fail, because the time information could be removed

A detailed description can be found in the TimeClass.

Rainer Maximini
See Also: