ERXTimestampFormatter Class Reference

Inherits com::webobjects::foundation::NSTimestampFormatter.

Collaboration diagram for ERXTimestampFormatter:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 ERXTimestampFormatter (String arg0, DateFormatSymbols arg1)
 ERXTimestampFormatter (String arg0)
 ERXTimestampFormatter ()

Static Public Member Functions

static NSTimestampFormatter dateFormatterForPattern (String pattern)
static Format defaultDateFormatterForObject (Object object)
static void setDateFormatterForPattern (NSTimestampFormatter formatter, String pattern)

Static Public Attributes

static final String DEFAULT_PATTERN = "%m/%d/%Y"

Static Protected Attributes

static final String DefaultKey = "ERXTimestampFormatter.DefaultKey"

Static Package Functions

 [static initializer]

Static Private Attributes

static final Hashtable _repository = new Hashtable()


Detailed Description

Provides localization to timestamp formatters.

Constructor & Destructor Documentation

ERXTimestampFormatter ( String  arg0  ) 

Parameters:
arg0 

ERXTimestampFormatter ( String  arg0,
DateFormatSymbols  arg1 
)

Parameters:
arg0 
arg1 


Member Function Documentation

[static initializer] (  )  [static, package]

static NSTimestampFormatter dateFormatterForPattern ( String  pattern  )  [static]

Returns a shared instance for the specified pattern.

Returns:
shared instance of formatter

static Format defaultDateFormatterForObject ( Object  object  )  [static]

The default pattern used by WOString and friends when no pattern is set. Looks like this only for compatibility's sake.

Parameters:
object 

static void setDateFormatterForPattern ( NSTimestampFormatter  formatter,
String  pattern 
) [static]

Sets a shared instance for the specified pattern.


Member Data Documentation

final Hashtable _repository = new Hashtable() [static, private]

holds a reference to the repository

final String DEFAULT_PATTERN = "%m/%d/%Y" [static]

The default pattern used in the UI

final String DefaultKey = "ERXTimestampFormatter.DefaultKey" [static, protected]


The documentation for this class was generated from the following file:

Generated on Sat May 26 06:43:12 2012 for Project Wonder by  doxygen 1.5.8