org.jbind.xml.instance.data
Class DateTime
java.lang.Object
org.jbind.xml.instance.data.PointInTime
org.jbind.xml.instance.data.DateTime
- All Implemented Interfaces:
- IDateBase, IDateTime, IPointInTime, java.io.Serializable
- public class DateTime
- extends PointInTime
- implements IDateTime
- See Also:
- Serialized Form
Constructor Summary |
DateTime(int aSign,
int aYear,
int aMonth,
int aDay,
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 |
mySign
protected int mySign
myYear
protected int myYear
myMonth
protected int myMonth
myDay
protected int myDay
DateTime
public DateTime(int aSign,
int aYear,
int aMonth,
int aDay,
int anHour,
int aMinute,
int aSecond,
java.math.BigDecimal aFraction,
boolean aHadTimeZone)
create
public static IDateTime create(int aSign,
int aYear,
int aMonth,
int aDay,
int anHour,
int aMinute,
int aSecond,
java.math.BigDecimal aFraction,
ITimeZone aTimeZone)
getSign
public int getSign()
- Specified by:
getSign
in interface IDateBase
getYear
public int getYear()
- Specified by:
getYear
in interface IDateBase
getMonth
public int getMonth()
- Specified by:
getMonth
in interface IDateBase
getDay
public int getDay()
- Specified by:
getDay
in interface IDateBase
compareTo
public CompareResult compareTo(IDateTime aDateTime)
- Specified by:
compareTo
in interface IDateTime
equals
public boolean equals(java.lang.Object anObject)
- Overrides:
equals
in class PointInTime
hashCode
public int hashCode()
- Overrides:
hashCode
in class PointInTime
toString
public java.lang.String toString()
- Overrides:
toString
in class PointInTime