com.yahoo.astra.utils.TimeUnit
Keywords: TimeUnit,com.yahoo.astra.utils.TimeUnit,DAY,HOURS,MILLISECONDS,MINUTES,MONTH,SECONDS,YEAR

YUI AS Component Documentation | All Packages | All Classes | Index | Frames No Frames |
Class TimeUnit

Package | com.yahoo.astra.utils
Class | public class TimeUnit

A collection of constants for date and time units.

Public Constants

| Constant | Defined 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

DAY | constant

`public static const DAY:String = "day"`

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

HOURS | constant |

`public static const HOURS:String = "hours"`

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

MILLISECONDS | constant |

`public static const MILLISECONDS:String = "milliseconds"`

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

MINUTES | constant |

`public static const MINUTES:String = "minutes"`

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

MONTH | constant |

`public static const MONTH:String = "month"`

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

SECONDS | constant |

`public static const SECONDS:String = "seconds"`

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

YEAR | constant |

`public static const YEAR:String = "year"`

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