|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TimeConstants
Interface TimeConstants defines simple time constants.
All of these constants are simple as they have no external dependencies.
Field Summary | |
---|---|
static long |
HOURS_PER_DAY
Number of hours in a day (24). |
static long |
MINUTES_PER_DAY
Number of minutes in a day (24 * 60). |
static long |
MINUTES_PER_HOUR
Number of minutes in an hour (60). |
static long |
MS_PER_DAY
Number of milliseconds in an hour (24 * 60 * 60 * 1000). |
static long |
MS_PER_HOUR
Number of milliseconds in an hour (60 * 60 * 1000). |
static long |
MS_PER_MINUTE
Number of milliseconds in an minute (60 * 1000). |
static long |
MS_PER_SECOND
Number of milliseconds in a second (1000). |
static long |
SECONDS_PER_DAY
Number of seconds in a day (24 * 60 * 60). |
static long |
SECONDS_PER_MINUTE
Number of seconds in a minute (60). |
Field Detail |
---|
static final long MS_PER_SECOND
static final long SECONDS_PER_MINUTE
static final long MS_PER_MINUTE
static final long MINUTES_PER_HOUR
static final long MS_PER_HOUR
static final long HOURS_PER_DAY
static final long MINUTES_PER_DAY
static final long SECONDS_PER_DAY
static final long MS_PER_DAY
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |