|
Copyright © Rasmus Sten and contributors, 1997-2004 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--nu.dll.lyskom.KomTime
Represents the LysKOM data type "Time".
Field Summary | |
static int |
ITEM_SIZE
The number of KomToken items that this data type is made of. |
Constructor Summary | |
KomTime()
Constructs a KomTime object representing the current system time. |
|
KomTime(int sec,
int min,
int hours,
int mday,
int month,
int year,
int weekday,
int yearday,
int isdst)
Constructs a KomTime object representing the specified time. |
Method Summary | |
boolean |
equals(java.lang.Object o)
Returns true if the supplied object is of type KomTime and represents the same time as this object. |
java.util.Date |
getTime()
Returns a java.util.Date object representing this object's time, according to the Gregorian calendar. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static int ITEM_SIZE
Constructor Detail |
public KomTime(int sec, int min, int hours, int mday, int month, int year, int weekday, int yearday, int isdst)
sec
- Wall clock secondsmin
- Wall clock minuteshours
- Wall clock hours (24hr format)mday
- Day within month, starting with 1month
- Month of year, with January being zeroyear
- Years since 1900weekday
- Day of week, Sunday being zeroyearday
- Day of year, starting with zeroisdst
- '1' if the time is daylight savings timepublic KomTime()
Method Detail |
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public java.util.Date getTime()
|
Copyright © Rasmus Sten and contributors, 1997-2004 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |