Defines a display mode that the TimebarContainer can use.
Each mode defines how many years, months, days, hours, minutes, and
seconds are in the mode.
The time span is additive. In other words, if the "years" value is 1
and the "months" value is 6, each renderer will span 1 year and 6
months.
Also supply a name for each mode to pass to the renderers to provide them
with some information as to how to display the date information. For
example, if one is displaying a single day per renderer, set the "name"
property to "day" and then on the renderer, detect that the mode is "day"
and then parse Date objects with the names of the days of the week.
public var minutes:Number
public var seconds:Number
public function IntervalMode()
public static function getTimestamp(mode:IntervalMode):Number
Return the approximate timestamp. Useful for sorting.
Parameters
| mode:IntervalMode — the IntervalMode to return the timestamp for
|
Returns
Mon Sep 15 2014, 01:55 AM -06:00