com.isti.util
Interface TimeConstants

All Known Implementing Classes:
TimeUnits, UtilFns

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

MS_PER_SECOND

static final long MS_PER_SECOND
Number of milliseconds in a second (1000).

See Also:
Constant Field Values

SECONDS_PER_MINUTE

static final long SECONDS_PER_MINUTE
Number of seconds in a minute (60).

See Also:
Constant Field Values

MS_PER_MINUTE

static final long MS_PER_MINUTE
Number of milliseconds in an minute (60 * 1000).

See Also:
Constant Field Values

MINUTES_PER_HOUR

static final long MINUTES_PER_HOUR
Number of minutes in an hour (60).

See Also:
Constant Field Values

MS_PER_HOUR

static final long MS_PER_HOUR
Number of milliseconds in an hour (60 * 60 * 1000).

See Also:
Constant Field Values

HOURS_PER_DAY

static final long HOURS_PER_DAY
Number of hours in a day (24).

See Also:
Constant Field Values

MINUTES_PER_DAY

static final long MINUTES_PER_DAY
Number of minutes in a day (24 * 60).

See Also:
Constant Field Values

SECONDS_PER_DAY

static final long SECONDS_PER_DAY
Number of seconds in a day (24 * 60 * 60).

See Also:
Constant Field Values

MS_PER_DAY

static final long MS_PER_DAY
Number of milliseconds in an hour (24 * 60 * 60 * 1000).

See Also:
Constant Field Values