Package | Description |
---|---|
java.util |
Utilities
|
tijos.framework.networkcenter.ntp |
Network time protocol client class
|
Modifier and Type | Method and Description |
---|---|
Date |
GregorianCalendar.getGregorianChange()
Gets the date of the switch from Julian dates to Gregorian dates.
|
Date |
Calendar.getTime()
Converts the time represented by this object to a
Date -Object. |
Modifier and Type | Method and Description |
---|---|
boolean |
Date.after(Date when)
Tests if this date is after the specified date.
|
boolean |
Date.before(Date when)
Tests if this date is before the specified date.
|
int |
Date.compareTo(Date when)
Compares two dates.
|
void |
Timer.schedule(TimerTask task,
Date date)
Schedules the task at the specified data for one time execution.
|
void |
Timer.schedule(TimerTask task,
Date date,
long period)
Schedules the task at the specified date and reschedules the task every
period milliseconds after the last execution of the task finishes until
this timer or the task is canceled.
|
void |
Timer.scheduleAtFixedRate(TimerTask task,
Date date,
long period)
Schedules the task at the specified date and reschedules the task at a
fixed rate every period milliseconds until this timer or the task is
canceled.
|
void |
GregorianCalendar.setGregorianChange(Date date)
Sets the date of the switch from Julian dates to Gregorian dates.
|
void |
Calendar.setTime(Date date)
Sets this Calendar's time to the given Date.
|
Modifier and Type | Method and Description |
---|---|
Date |
TimeStamp.getDate()
Convert NTP timestamp to Java Date object.
|
Constructor and Description |
---|
TimeStamp(Date d)
Constructs a newly allocated NTP timestamp object
that represents the Java Date argument.
|