D
- the actual date typepublic class DateConverter<D extends Date> extends FormatConverter<D>
FormatConverter
.Constructor and Description |
---|
DateConverter()
Creates a new converter with the default formats for the default timezone.
|
DateConverter(TimeZone timeZone)
Creates a new instance for a specific timezone.
|
Modifier and Type | Method and Description |
---|---|
D |
convert(Class<? extends D> targetType,
String value)
Converts a value from import file to Java.
|
getFormats
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
of
public DateConverter()
public DateConverter(TimeZone timeZone)
timeZone
- the time zone to use for _all_ default formatspublic D convert(Class<? extends D> targetType, String value)
PropertyConverter
convert
in interface PropertyConverter<D extends Date>
convert
in class FormatConverter<D extends Date>
targetType
- the type of the target propertyvalue
- the value in the import fileCopyright © 2022 fastnate.org. All rights reserved.