@Api public class DateTimeType extends JsonTypeBase<org.joda.time.LocalDateTime>
LocalDateTime
and Date
(alias).TypeBase.Convert<A,T>
Modifier and Type | Field and Description |
---|---|
static DateTimeType |
INSTANCE |
Modifier and Type | Method and Description |
---|---|
org.joda.time.LocalDateTime |
convert(String value)
Returns string value converted to Object of this type
|
protected org.joda.time.LocalDateTime |
deserializeNonEmptyNode(com.fasterxml.jackson.databind.JsonNode json) |
String |
name()
Returns unqiue type name.
|
protected com.fasterxml.jackson.databind.JsonNode |
serializeNonNullValue(org.joda.time.LocalDateTime value) |
String |
translationKey() |
convertFromJsonString, convertToJsonString, deserializeJson, emptyNode, emptyValue, isNodeEmpty, isValueEmpty, serializeJson
aliasType, converter, defaultValue, doReadAs, isAssignable, isForceInstanceWhenReading, isInstance, isInstance, javaType, read, readAs, setForceInstanceWhenReading, toString
public static final DateTimeType INSTANCE
public String name()
Type
public String translationKey()
translationKey
in class JsonTypeBase<org.joda.time.LocalDateTime>
protected com.fasterxml.jackson.databind.JsonNode serializeNonNullValue(org.joda.time.LocalDateTime value)
serializeNonNullValue
in class JsonTypeBase<org.joda.time.LocalDateTime>
protected org.joda.time.LocalDateTime deserializeNonEmptyNode(com.fasterxml.jackson.databind.JsonNode json)
deserializeNonEmptyNode
in class JsonTypeBase<org.joda.time.LocalDateTime>
Copyright © 2023 Suncode. All rights reserved.