er.extensions
Class ERXTimestampFormatter
java.lang.Object
java.text.Format
com.webobjects.foundation.NSTimestampFormatter
er.extensions.ERXTimestampFormatter
- All Implemented Interfaces:
- Cloneable, Serializable
- public class ERXTimestampFormatter
- extends NSTimestampFormatter
Provides localization to timestamp formatters.
- See Also:
- Serialized Form
Methods inherited from class com.webobjects.foundation.NSTimestampFormatter |
_getDefaultZoneStrings, defaultDateFormatSymbols, defaultFormatTimeZone, defaultParseTimeZone, format, parseObject, parseObjectInUTC, pattern, setDefaultFormatTimeZone, setDefaultParseTimeZone, setPattern, toString |
DefaultKey
protected static final String DefaultKey
- See Also:
- Constant Field Values
DEFAULT_PATTERN
public static String DEFAULT_PATTERN
- The default pattern used in the UI
ERXTimestampFormatter
public ERXTimestampFormatter()
ERXTimestampFormatter
public ERXTimestampFormatter(String arg0)
- Parameters:
arg0
-
ERXTimestampFormatter
public ERXTimestampFormatter(String arg0,
DateFormatSymbols arg1)
- Parameters:
arg0
- arg1
-
defaultDateFormatterForObject
public static Format defaultDateFormatterForObject(Object object)
- The default pattern used by WOString and friends when no pattern is set.
Looks like this only for compatibility's sake.
- Parameters:
object
-
- Returns:
dateFormatterForPattern
public static NSTimestampFormatter dateFormatterForPattern(String pattern)
- Returns a shared instance for the specified pattern.
- Returns:
- shared instance of formatter
setDateFormatterForPattern
public static void setDateFormatterForPattern(NSTimestampFormatter formatter,
String pattern)
- Sets a shared instance for the specified pattern.
- Returns:
- shared instance of formatter
Copyright © 2002 – 2004 Project Wonder.