Packagecom.yahoo.astra.utils
Classpublic class TimeUnit

A collection of constants for date and time units.



Public Constants
 ConstantDefined by
  DAY : String = "day"
[static] A constant representing the day unit in date and time values.
TimeUnit
  HOURS : String = "hours"
[static] A constant representing the hours unit in date and time values.
TimeUnit
  MILLISECONDS : String = "milliseconds"
[static] A constant representing the milliseconds unit in date and time values.
TimeUnit
  MINUTES : String = "minutes"
[static] A constant representing the minutes unit in date and time values.
TimeUnit
  MONTH : String = "month"
[static] A constant representing the month unit in date and time values.
TimeUnit
  SECONDS : String = "seconds"
[static] A constant representing the seconds unit in date and time values.
TimeUnit
  YEAR : String = "year"
[static] A constant representing the year unit in date and time values.
TimeUnit
Constant detail
DAYconstant
public static const DAY:String = "day"

A constant representing the day unit in date and time values.

HOURSconstant 
public static const HOURS:String = "hours"

A constant representing the hours unit in date and time values.

MILLISECONDSconstant 
public static const MILLISECONDS:String = "milliseconds"

A constant representing the milliseconds unit in date and time values.

MINUTESconstant 
public static const MINUTES:String = "minutes"

A constant representing the minutes unit in date and time values.

MONTHconstant 
public static const MONTH:String = "month"

A constant representing the month unit in date and time values.

SECONDSconstant 
public static const SECONDS:String = "seconds"

A constant representing the seconds unit in date and time values.

YEARconstant 
public static const YEAR:String = "year"

A constant representing the year unit in date and time values.