Package lumis.util.converter
Class TimeConverter
- java.lang.Object
-
- lumis.util.converter.AbstractConverter
-
- lumis.util.converter.DateTimeConverter
-
- lumis.util.converter.TimeConverter
-
- All Implemented Interfaces:
IConverter
public class TimeConverter extends DateTimeConverter
Converter for time values. Fallsback to JVM's time specific format if no pattern was specified.- Since:
- 4.0.4
- Version:
- $Revision: 6376 $ $Date: 2007-04-10 17:55:53 -0300 (Tue, 10 Apr 2007) $
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class lumis.util.converter.DateTimeConverter
DateTimeConverter.ISO8601DateTimeFormat
-
-
Field Summary
-
Fields inherited from class lumis.util.converter.DateTimeConverter
PATTERN_ISO_8601
-
-
Constructor Summary
Constructors Constructor Description TimeConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.text.DateFormat
createDateFormat(java.util.Locale locale, java.lang.String pattern)
Creates the DateFormat for the given locale and pattern.-
Methods inherited from class lumis.util.converter.DateTimeConverter
doConversion
-
Methods inherited from class lumis.util.converter.AbstractConverter
convert, convert, convert, doesNullValueReturnNull, doesValueInstanceOfTypeReturnValue, getDefaultLocale, getDefaultPattern, setDefaultLocale, setDefaultPattern, setFallbackToRegisteredConverters, shouldFallbackToRegisteredConverters
-
-
-
-
Method Detail
-
createDateFormat
protected java.text.DateFormat createDateFormat(java.util.Locale locale, java.lang.String pattern)
Description copied from class:DateTimeConverter
Creates the DateFormat for the given locale and pattern.- Overrides:
createDateFormat
in classDateTimeConverter
- Parameters:
locale
- the locale.pattern
- the pattern.- Returns:
- the DateFormat created.
- See Also:
DateFormat
-
-