lumis.util.converter
Class TimeConverter

Package class diagram package TimeConverter
java.lang.Object
  extended by lumis.util.converter.AbstractConverter
      extended by lumis.util.converter.DateTimeConverter
          extended by 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

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
TimeConverter()
           
 
Method Summary
protected  DateFormat createDateFormat(Locale locale, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimeConverter

public TimeConverter()
Method Detail

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  4.1.0.071221 - Copyright © 2001-2007, Lumis. All Rights Reserved.