org.inigma.utopia
Class UtopiaDate
java.lang.Object
org.inigma.utopia.UtopiaDate
- All Implemented Interfaces:
- java.lang.Comparable<UtopiaDate>
public class UtopiaDate
- extends java.lang.Object
- implements java.lang.Comparable<UtopiaDate>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
UNKNOWN
public static final UtopiaDate UNKNOWN
UtopiaDate
public UtopiaDate()
UtopiaDate
public UtopiaDate(UtopiaDate.Month month,
int date,
int year)
UtopiaDate
public UtopiaDate(java.lang.String text)
getDate
public int getDate()
getMonth
public UtopiaDate.Month getMonth()
getYear
public int getYear()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
compareTo
public int compareTo(UtopiaDate ud)
- Specified by:
compareTo
in interface java.lang.Comparable<UtopiaDate>
setDate
public void setDate(int date)
setMonth
public void setMonth(UtopiaDate.Month month)
setYear
public void setYear(int year)
Copyright © 2008. All Rights Reserved.