Class JodaDateTimeToStringConversion
java.lang.Object
org.mapstruct.ap.internal.conversion.SimpleConversion
org.mapstruct.ap.internal.conversion.AbstractJodaTypeToStringConversion
org.mapstruct.ap.internal.conversion.JodaDateTimeToStringConversion
- All Implemented Interfaces:
ConversionProvider
Conversion between
DateTime and String.- Author:
- Timo Eckhardt
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.mapstruct.ap.internal.conversion.AbstractJodaTypeToStringConversion
getFromConversionImportTypes, getFromExpression, getToConversionImportTypes, getToExpressionMethods inherited from class org.mapstruct.ap.internal.conversion.SimpleConversion
from, getFromConversionExceptionTypes, getRequiredHelperMethods, getToConversionExceptionTypes, toMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.mapstruct.ap.internal.conversion.ConversionProvider
getRequiredHelperFields
-
Constructor Details
-
JodaDateTimeToStringConversion
public JodaDateTimeToStringConversion()
-
-
Method Details
-
formatStyle
- Specified by:
formatStylein classAbstractJodaTypeToStringConversion- Returns:
- the default format style to be applied if non is given explicitly.
-
parseMethod
- Specified by:
parseMethodin classAbstractJodaTypeToStringConversion- Returns:
- the name of the parse method for converting a String into a specific Joda-Time type.
-