Class JodaLocalDateToStringConversion
- java.lang.Object
-
- org.mapstruct.ap.internal.conversion.SimpleConversion
-
- org.mapstruct.ap.internal.conversion.AbstractJodaTypeToStringConversion
-
- org.mapstruct.ap.internal.conversion.JodaLocalDateToStringConversion
-
- All Implemented Interfaces:
ConversionProvider
public class JodaLocalDateToStringConversion extends AbstractJodaTypeToStringConversion
Conversion betweenLocalDate
andString
.- Author:
- Timo Eckhardt
-
-
Constructor Summary
Constructors Constructor Description JodaLocalDateToStringConversion()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
formatStyle()
protected String
parseMethod()
-
Methods inherited from class org.mapstruct.ap.internal.conversion.AbstractJodaTypeToStringConversion
getFromConversionImportTypes, getFromExpression, getToConversionImportTypes, getToExpression
-
Methods inherited from class org.mapstruct.ap.internal.conversion.SimpleConversion
from, getFromConversionExceptionTypes, getRequiredHelperMethods, getToConversionExceptionTypes, to
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.mapstruct.ap.internal.conversion.ConversionProvider
getRequiredHelperFields
-
-
-
-
Method Detail
-
formatStyle
protected String formatStyle()
- Specified by:
formatStyle
in classAbstractJodaTypeToStringConversion
- Returns:
- the default format style to be applied if non is given explicitly.
-
parseMethod
protected String parseMethod()
- Specified by:
parseMethod
in classAbstractJodaTypeToStringConversion
- Returns:
- the name of the parse method for converting a String into a specific Joda-Time type.
-
-