org.jbind.xml.instance.data
Class GDate
java.lang.Object
org.jbind.xml.instance.data.GDate
- All Implemented Interfaces:
- IDateBase, IGDate, java.io.Serializable
- Direct Known Subclasses:
- Date, GDay, GMonth, GMonthDay, GYear, GYearMonth
- public class GDate
- extends java.lang.Object
- implements IGDate, IDateBase
- See Also:
- Serialized Form
Constructor Summary |
GDate(int aSign,
int aYear,
int aMonth,
int aDay,
ITimeZone aTimeZone)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_SIGN
protected static final int DEFAULT_SIGN
- See Also:
- Constant Field Values
DEFAULT_YEAR
protected static final int DEFAULT_YEAR
- See Also:
- Constant Field Values
DEFAULT_MONTH
protected static final int DEFAULT_MONTH
- See Also:
- Constant Field Values
DEFAULT_DAY
protected static final int DEFAULT_DAY
- See Also:
- Constant Field Values
GDate
public GDate(int aSign,
int aYear,
int aMonth,
int aDay,
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
getTimeZone
public ITimeZone getTimeZone()
- Specified by:
getTimeZone
in interface IGDate
doCompare
protected CompareResult doCompare(GDate aDate)
equals
public boolean equals(java.lang.Object anObject)
hashCode
public int hashCode()
outputSign
protected void outputSign(StrBuffer aStrBuffer)
outputYear
protected void outputYear(StrBuffer aStrBuffer)
outputMonth
protected void outputMonth(StrBuffer aStrBuffer)
outputDay
protected void outputDay(StrBuffer aStrBuffer)
outputTimeZone
protected void outputTimeZone(StrBuffer aStrBuffer)