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:ConverterFrom string.- Parameters:
text- the text- Returns:
- the k
- Throws:
Exception- the exception
-
infoOnType
Description copied from interface:ConverterInfo on type.- Specified by:
infoOnTypein interfaceConverter<Date>- Overrides:
infoOnTypein classAbstractConverter<Date>- Returns:
- the string
-
toString
Description copied from interface:ConverterTo string.- Parameters:
value- the value- Returns:
- the string
-