| Package | xp.utils |
| Class | public class TimeIntervalFormat |
See also
| Method | Defined by | ||
|---|---|---|---|
|
TimeIntervalFormat(pattern:String)
Creates a new instance of hte TimeInterval formatter
| TimeIntervalFormat | ||
|
applyPattern(pattern:String):void
Applies the given pattern string to this time interval format
Applies the given pattern string to this time interval format.
| TimeIntervalFormat | ||
|
format(interval:Number):String
formats the interval specified by the interval
| TimeIntervalFormat | ||
| TimeIntervalFormat | () | constructor |
public function TimeIntervalFormat(pattern:String)Creates a new instance of hte TimeInterval formatter
Parameterspattern:String — The pattern to apply
|
| applyPattern | () | method |
public function applyPattern(pattern:String):voidApplies the given pattern string to this time interval format Applies the given pattern string to this time interval format.
Parameterspattern:String — - the new date and time pattern for this date format
|
| format | () | method |
public function format(interval:Number):Stringformats the interval specified by the interval
Parametersinterval:Number |
String |