Packagexp.utils
Interfacepublic interface IDataFormatter
ImplementorsDateFormat, NumberFormat



Public Methods
 MethodDefined by
  
applyPattern(pattern:String):void
Applies the given pattern string to this format instance
IDataFormatter
  
format(value:*):String
Formats a value into a string
IDataFormatter
  
parse(value:String):*
Parses a string to produce a value
IDataFormatter
Method detail
applyPattern()method
public function applyPattern(pattern:String):void

Applies the given pattern string to this format instance

Parameters
pattern:String — - the new pattern for this format
format()method 
public function format(value:*):String

Formats a value into a string

Parameters
value:* — - the value to be formatted into a string.

Returns
String — the formatted string.
parse()method 
public function parse(value:String):*

Parses a string to produce a value

Parameters
value:String — - A String that should be parsed

Returns
* — A parsed value