The Class DateConverter.
-
Constructor Summary
ConstructorsConstructorDescriptionDateConverter
(String formatText, boolean allowEmpty) Instantiates a new date converter. -
Method Summary
Methods inherited from class org.csveed.bean.conversion.AbstractConverter
getType
-
Constructor Details
-
DateConverter
Instantiates a new date converter.- Parameters:
formatText
- the format textallowEmpty
- the allow empty
-
-
Method Details
-
fromString
Description copied from interface:Converter
From string.- Parameters:
text
- the text- Returns:
- the k
- Throws:
Exception
- the exception
-
infoOnType
Description copied from interface:Converter
Info on type.- Specified by:
infoOnType
in interfaceConverter<Date>
- Overrides:
infoOnType
in classAbstractConverter<Date>
- Returns:
- the string
-
toString
Description copied from interface:Converter
To string.- Parameters:
value
- the value- Returns:
- the string
-