Class LongToDateTimeConverter
java.lang.Object
ch.tocco.nice2.types.impl.conversions.LongToDateTimeConverter
- All Implemented Interfaces:
Converter<Long,
,org.joda.time.DateTime> ReversibleConverter<Long,
org.joda.time.DateTime>
public class LongToDateTimeConverter
extends Object
implements ReversibleConverter<Long,org.joda.time.DateTime>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.joda.time.DateTime
reverseConvert
(org.joda.time.DateTime value)
-
Constructor Details
-
LongToDateTimeConverter
public LongToDateTimeConverter()
-
-
Method Details
-
reverseConvert
- Specified by:
reverseConvert
in interfaceReversibleConverter<Long,
org.joda.time.DateTime> - Throws:
TypeConversionException
-
convert
public org.joda.time.DateTime convert(@Nullable @Nullable Long value) throws TypeConversionException - Specified by:
convert
in interfaceConverter<Long,
org.joda.time.DateTime> - Throws:
TypeConversionException
-