|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sourceforge.jpalm.palmdb.Date
public class Date
A date in a Palm database.
| Field Summary | |
|---|---|
static long |
PALM_EPOCH_MILLISECONDS
The Palm's epoch (January 1, 1904) relative to Java's epoch (January 1, 1970) in milliseconds. -2082844800000L |
| Constructor Summary | |
|---|---|
Date()
Creates a new date from the current date. |
|
Date(java.util.Date date)
Creates a new date from a java date. |
|
Date(net.sourceforge.juint.UInt32 seconds)
Creates a new date from the number of seconds since the Palm epoch. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object object)
|
java.util.Date |
getDate()
Gets the java date representation of this date. |
net.sourceforge.juint.UInt32 |
getSeconds()
Gets the of seconds since the Palm epoch. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final long PALM_EPOCH_MILLISECONDS
| Constructor Detail |
|---|
public Date(net.sourceforge.juint.UInt32 seconds)
seconds - the number of seconds since the Palm epochpublic Date(java.util.Date date)
date - a datepublic Date()
| Method Detail |
|---|
public net.sourceforge.juint.UInt32 getSeconds()
public java.util.Date getDate()
public boolean equals(java.lang.Object object)
equals in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||