public class DateTimePatternMatch extends Bean
DateTimePattern
. This class holds the pattern used for parsing (getPattern()
) and the parsed value (getValue()
).SERIALIZED_CLASS_NAME, TYPE
XML_SERIALIZED_CLASS_NAME
Constructor and Description |
---|
DateTimePatternMatch(DateTimePattern pattern,
TemporalAccessor value) |
Modifier and Type | Method and Description |
---|---|
FieldType |
getFieldType()
Returns
FieldType . |
FieldType |
getFieldType(boolean throwExceptionOnFailure)
Returns
FieldType . |
DateTimePattern |
getPattern()
The pattern used for parsing.
|
TemporalAccessor |
getTemporalAccessor()
Deprecated.
use
getValue() instead. |
TemporalAccessor |
getValue()
The parsed value.
|
String |
toString()
Returns a basic JSON representation of this instance.
|
addExceptionProperties, fromRecord, toRecord
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
fromArrayValue, fromArrayValue, fromArrayValue, fromJson, fromJson, newInstanceFromRecord, newInstanceFromRecord, toArrayValue, toJson, toJson, toJson, toRecord
newInstanceFromJson
forEachGrandChildElement, fromXml, fromXml, fromXmlElement, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getChildElement, getChildElements, newInstanceFromXml, newInstanceFromXml, setAttribute, toXml, toXml, toXml, toXml, toXml, toXmlElement, writeXml, writeXml
addExceptionProperties, contributeExceptionProperties, contributeExceptionProperties, exception, exception, exception
public DateTimePatternMatch(DateTimePattern pattern, TemporalAccessor value)
public DateTimePattern getPattern()
public TemporalAccessor getValue()
public FieldType getFieldType()
FieldType
.public FieldType getFieldType(boolean throwExceptionOnFailure)
FieldType
.@Deprecated public TemporalAccessor getTemporalAccessor()
getValue()
instead.Copyright (c) 2006-2024 North Concepts Inc. All Rights Reserved.