@Singleton public class JodaLocalTimeCodec extends JodaReadablePatialCodecBase<org.joda.time.LocalTime>
Constructor and Description |
---|
JodaLocalTimeCodec(AppConfig config) |
JodaLocalTimeCodec(org.joda.time.format.DateTimeFormatter formatter,
boolean isIso) |
JodaLocalTimeCodec(java.lang.String pattern) |
Modifier and Type | Method and Description |
---|---|
protected JodaDateTimeCodecBase<org.joda.time.LocalTime> |
create(java.lang.String pattern) |
protected org.joda.time.format.DateTimeFormatter |
isoFormatter() |
protected org.joda.time.LocalTime |
now() |
protected org.joda.time.LocalTime |
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 JodaLocalTimeCodec(org.joda.time.format.DateTimeFormatter formatter, boolean isIso)
public JodaLocalTimeCodec(java.lang.String pattern)
@Inject public JodaLocalTimeCodec(AppConfig config)
protected org.joda.time.LocalTime parse(org.joda.time.format.DateTimeFormatter formatter, java.lang.String value)
parse
in class JodaDateTimeCodecBase<org.joda.time.LocalTime>
protected org.joda.time.format.DateTimeFormatter isoFormatter()
isoFormatter
in class JodaDateTimeCodecBase<org.joda.time.LocalTime>
protected org.joda.time.LocalTime now()
now
in class JodaDateTimeCodecBase<org.joda.time.LocalTime>
protected JodaDateTimeCodecBase<org.joda.time.LocalTime> create(java.lang.String pattern)
create
in class JodaDateTimeCodecBase<org.joda.time.LocalTime>
Copyright © 2014–2017 ActFramework. All rights reserved.