Interface TimeObject

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

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.

Attention:

 Time Time = new Time();
 setNativeTime(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.

Author:
Rainer Maximini
See Also: