org.jbind.xml.instance.data
Class GDate

java.lang.Object
  extended byorg.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

Field Summary
protected static int DEFAULT_DAY
           
protected static int DEFAULT_MONTH
           
protected static int DEFAULT_SIGN
           
protected static int DEFAULT_YEAR
           
 
Constructor Summary
GDate(int aSign, int aYear, int aMonth, int aDay, ITimeZone aTimeZone)
           
 
Method Summary
protected  CompareResult doCompare(GDate aDate)
           
 boolean equals(java.lang.Object anObject)
           
 int getDay()
           
 int getMonth()
           
 int getSign()
           
 ITimeZone getTimeZone()
           
 int getYear()
           
 int hashCode()
           
protected  void outputDay(StrBuffer aStrBuffer)
           
protected  void outputMonth(StrBuffer aStrBuffer)
           
protected  void outputSign(StrBuffer aStrBuffer)
           
protected  void outputTimeZone(StrBuffer aStrBuffer)
           
protected  void outputYear(StrBuffer aStrBuffer)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

GDate

public GDate(int aSign,
             int aYear,
             int aMonth,
             int aDay,
             ITimeZone aTimeZone)
Method Detail

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)