|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Number
org.norther.tammi.acorn.lang.LongDate
org.norther.tammi.acorn.lang.LongTime
public class LongTime
A number represeting a modifiable timestamp as a number of milliseconds.
| Constructor Summary | |
|---|---|
LongTime(Date date)
Constructs a new timestamp with java.util.Date. |
|
LongTime(long msecs)
Constructs a new timestamp with msecs. |
|
| Method Summary | |
|---|---|
long |
getTimestamp()
Gets the timestamp. |
void |
setTimestamp(long msecs)
Sets the timestamp. |
| Methods inherited from class org.norther.tammi.acorn.lang.LongDate |
|---|
doubleValue, floatValue, intValue, longValue |
| Methods inherited from class java.lang.Number |
|---|
byteValue, shortValue |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LongTime(long msecs)
msecs - the initial timestamp.public LongTime(Date date)
java.util.Date.
date - the initial date.| Method Detail |
|---|
public long getTimestamp()
public void setTimestamp(long msecs)
msecs - the timestamp.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||