@Singleton public class JodaLocalDateCodec extends JodaReadablePatialCodecBase<org.joda.time.LocalDate>
Constructor and Description |
---|
JodaLocalDateCodec(AppConfig config) |
JodaLocalDateCodec(org.joda.time.format.DateTimeFormatter formatter) |
JodaLocalDateCodec(java.lang.String pattern) |
Modifier and Type | Method and Description |
---|---|
protected JodaDateTimeCodecBase<org.joda.time.LocalDate> |
create(java.lang.String pattern) |
protected org.joda.time.format.DateTimeFormatter |
isoFormatter() |
protected org.joda.time.LocalDate |
now() |
protected org.joda.time.LocalDate |
parse(org.joda.time.format.DateTimeFormatter formatter,
java.lang.String value) |
toString
amended, formatter, isIsoStandard, parse, resolve, targetClass, toJSONString
addPredefinedResolver, apply, attribute, attribute, attributes, clearAttributes, genericTargetType, main, predefined, predefined, targetType, wrap
public JodaLocalDateCodec(org.joda.time.format.DateTimeFormatter formatter)
public JodaLocalDateCodec(java.lang.String pattern)
@Inject public JodaLocalDateCodec(AppConfig config)
protected JodaDateTimeCodecBase<org.joda.time.LocalDate> create(java.lang.String pattern)
create
in class JodaDateTimeCodecBase<org.joda.time.LocalDate>
protected org.joda.time.LocalDate parse(org.joda.time.format.DateTimeFormatter formatter, java.lang.String value)
parse
in class JodaDateTimeCodecBase<org.joda.time.LocalDate>
protected org.joda.time.format.DateTimeFormatter isoFormatter()
isoFormatter
in class JodaDateTimeCodecBase<org.joda.time.LocalDate>
protected org.joda.time.LocalDate now()
now
in class JodaDateTimeCodecBase<org.joda.time.LocalDate>
Copyright © 2014–2017 ActFramework. All rights reserved.