org.jbind.xml.instance.data
Class Time
java.lang.Object
org.jbind.xml.instance.data.PointInTime
org.jbind.xml.instance.data.Time
- All Implemented Interfaces:
- IPointInTime, ITime, java.io.Serializable
- public class Time
- extends PointInTime
- implements ITime
Represents an instance in time. Time instances are always normalized to UTC.
- See Also:
- Serialized Form
Constructor Summary |
Time(int anHour,
int aMinute,
int aSecond,
java.math.BigDecimal aFraction,
boolean aHadTimeZone)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Time
public Time(int anHour,
int aMinute,
int aSecond,
java.math.BigDecimal aFraction,
boolean aHadTimeZone)
create
public static ITime create(int anHour,
int aMinute,
int aSecond,
java.math.BigDecimal aFraction,
ITimeZone aTimeZone)
- Creates a time object. If a time zone is specified then the time is adjusted
correspondingly.
compareTo
public CompareResult compareTo(ITime aTime)
- Specified by:
compareTo
in interface ITime