com.prozima.time
Interface TimeConstants


public interface TimeConstants

Time related constants which can be used in calculations.


Nested Class Summary
static class TimeConstants.DayOfWeek
          Enum defining the possible days of the week.
 
Field Summary
static long AVG_MILISECS_PER_DAY
          Average number of Milliseconds per Day.
static int AVG_MINS_PER_DAY
          Average number of minutes per day.
static int FIRST_DAY_OF_YEAR
          Index of the first day of January
static int MAX_DAYS_PER_MONTH
          Maximum possible number of days in a month.
static int MAX_DAYS_PER_YEAR
          Maximum possible index of a day per year.
static int MAX_HOURS_PER_DAY
          Maximum number of hours per day.
static int MAX_MINS_PER_DAY
          Maximum number of minutes per day.
static int MILISECS_PER_MIN
          Number of Milliseconds in a Minute.
static int MINS_PER_HOUR
          Number of minutes per hour.
static int SECS_PER_MIN
          Number of Seconds in a Minute.
 

Field Detail

AVG_MILISECS_PER_DAY

static final long AVG_MILISECS_PER_DAY
Average number of Milliseconds per Day.

See Also:
Constant Field Values

AVG_MINS_PER_DAY

static final int AVG_MINS_PER_DAY
Average number of minutes per day.

See Also:
Constant Field Values

FIRST_DAY_OF_YEAR

static final int FIRST_DAY_OF_YEAR
Index of the first day of January

See Also:
Constant Field Values

MAX_DAYS_PER_MONTH

static final int MAX_DAYS_PER_MONTH
Maximum possible number of days in a month.

See Also:
Constant Field Values

MAX_DAYS_PER_YEAR

static final int MAX_DAYS_PER_YEAR
Maximum possible index of a day per year. Only occurs during leap years.

See Also:
Constant Field Values

MAX_HOURS_PER_DAY

static final int MAX_HOURS_PER_DAY
Maximum number of hours per day. 25 hours when there is a change to/from daylight savings time.

See Also:
Constant Field Values

MAX_MINS_PER_DAY

static final int MAX_MINS_PER_DAY
Maximum number of minutes per day. 25 hours when there is a change to/from daylight savings time.

See Also:
Constant Field Values

MILISECS_PER_MIN

static final int MILISECS_PER_MIN
Number of Milliseconds in a Minute.

See Also:
Constant Field Values

MINS_PER_HOUR

static final int MINS_PER_HOUR
Number of minutes per hour.

See Also:
Constant Field Values

SECS_PER_MIN

static final int SECS_PER_MIN
Number of Seconds in a Minute.

See Also:
Constant Field Values