public class Date extends Subitem
Date
.
Date
represents the date as an integer value in MM, DD, YYYY format.Constructor and Description |
---|
Date(int mm,
int yyyy) |
Date(int mm,
int dd,
int yyyy) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Compares
Date values. |
int |
GetDay()
Accesses the
Day value. |
int |
GetMonth()
Accesses the
Month value. |
int |
GetYear()
Accesses the
Year value. |
java.lang.String |
ToString()
Sets
toString to the value that this class represents. |
public int GetMonth()
Month
value.public int GetDay()
Day
value.public int GetYear()
Year
value.public boolean equals(java.lang.Object obj)
Date
values.equals
in class java.lang.Object
public java.lang.String ToString()
toString
to the value that this class represents.