|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjodd.datetime.DateTimeStamp
Generic date time stamp just stores and holds date and time information. This class does not contain any date/time manipulation.
JDateTime
,
Serialized FormField Summary | |
int |
day
Day, range: [1 - 31] |
int |
hour
Hour, range: [0 - 23] |
int |
minute
Minute, range [0 - 59] |
int |
month
Month, range: [1 - 12] |
double |
second
Second, range: [0.000 - 59.999] |
int |
year
Year |
Constructor Summary | |
DateTimeStamp()
Default empty constructor. |
|
DateTimeStamp(int year,
int month,
int day)
Constructor that sets just date. |
|
DateTimeStamp(int year,
int month,
int day,
int hour,
int minute,
double second)
Constructor that sets date and time. |
Method Summary | |
int |
compareTo(java.lang.Object o)
Compares this object with the specified object for order. |
java.lang.String |
toString()
Simple to string conversion. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public int year
public int month
public int day
public int hour
public int minute
public double second
Constructor Detail |
public DateTimeStamp()
public DateTimeStamp(int year, int month, int day, int hour, int minute, double second)
public DateTimeStamp(int year, int month, int day)
Method Detail |
public int compareTo(java.lang.Object o)
compareTo
in interface java.lang.Comparable
o
- the Object to be compared.
java.lang.ClassCastException
- if the specified object's type prevents it
from being compared to this Object.public java.lang.String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |