lumis.util.converter
Class DateConverter
java.lang.Object
lumis.util.converter.AbstractConverter
lumis.util.converter.DateTimeConverter
lumis.util.converter.DateConverter
- All Implemented Interfaces:
- IConverter
public class DateConverter
- extends DateTimeConverter
Converter for date values. Fallsback to JVM's date specific format if no
pattern was specified.
- Since:
- 4.0.4
Methods inherited from class lumis.util.converter.AbstractConverter |
convert, convert, convert, doesNullValueReturnNull, doesValueInstanceOfTypeReturnValue, getDefaultLocale, getDefaultPattern, setDefaultLocale, setDefaultPattern, setFallbackToRegisteredConverters, shouldFallbackToRegisteredConverters |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DateConverter
public DateConverter()
createDateFormat
protected DateFormat createDateFormat(Locale locale,
String pattern)
- Description copied from class:
DateTimeConverter
- Creates the DateFormat for the given locale and pattern.
- Overrides:
createDateFormat
in class DateTimeConverter
- Parameters:
locale
- the locale.pattern
- the pattern.
- Returns:
- the DateFormat created.
- See Also:
DateFormat
Lumisportal 5.5.0.091130 - Copyright © 2001-2007, Lumis. All Rights Reserved.