Main Page | Packages | Class Tree | Index | Help

xp.util

class TimeIntervalFormat

Object
  |
  +--xp.util.TimeIntervalFormat


class TimeIntervalFormat
extends Object

TimeIntervalFormat
Format TimeInterval for display

TimeIntervals require special handling from DataTime objects


Author:
ProWin Computers Ltd. - Rob Edgar

Version:
3.0.0.000

See also:


Constructor

public
TimeIntervalFormat ( pattern)
Creates a new instance of hte TimeInterval formatter

Method Summary

public
applyPattern ( pattern: String ): Void
Applies the given pattern string to this time interval format

public
format ( interval: Number ): String
formats the interval specified by the interval



Constructor Documentation

TimeIntervalFormat

public function TimeIntervalFormat(pattern)
Creates a new instance of hte TimeInterval formatter

Parameters:
pattern
The pattern to apply

Method Documentation

applyPattern

public function applyPattern(pattern: String): Void
Applies the given pattern string to this time interval format

Applies the given pattern string to this time interval format.

Parameters:
pattern
- the new date and time pattern for this date format

format

public function format(interval: Number): String
formats the interval specified by the interval


The documentation was generated from the following file:


Generated on 10/30/2005 9:34:02 PM by AS2Doc