|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.softwareag.centrasite.appl.framework.data.Date
public class Date
Dates are expressed as instances of this class.
Constructor Summary | |
---|---|
Date()
|
Method Summary | |
---|---|
int |
compareTo(Date pDate)
|
boolean |
equals(java.lang.Object pOther)
|
int |
getDay()
Returns the dates day. |
int |
getMonth()
Returns the dates month. |
int |
getYear()
Returns the dates year. |
int |
hashCode()
|
boolean |
isAfter(Date pDate)
Returns, whether this Date is after the given date. |
boolean |
isBefore(Date pDate)
Returns, whether this Date is before the given date. |
void |
setDay(int pDay)
Sets the dates day. |
void |
setMonth(int pMonth)
Sets the dates month. |
void |
setYear(int pYear)
Sets the dates year. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Date()
Method Detail |
---|
public int getYear()
public void setYear(int pYear)
public int getMonth()
public void setMonth(int pMonth)
public int getDay()
public void setDay(int pDay)
public java.lang.String toString()
toString
in class java.lang.Object
public int compareTo(Date pDate)
compareTo
in interface java.lang.Comparable<Date>
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object pOther)
equals
in class java.lang.Object
public boolean isAfter(Date pDate)
public boolean isBefore(Date pDate)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |