public class DateTimePatternMatch extends Bean
DateTimePattern. This class holds the pattern used for parsing (getPattern()) and the parsed value (getValue()).SERIALIZED_CLASS_NAME, TYPEXML_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, toRecordclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfromArrayValue, fromArrayValue, fromArrayValue, fromJson, fromJson, newInstanceFromRecord, newInstanceFromRecord, toArrayValue, toJson, toJson, toJson, toRecordnewInstanceFromJsonforEachGrandChildElement, 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, writeXmladdExceptionProperties, contributeExceptionProperties, contributeExceptionProperties, exception, exception, exceptionpublic 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-2025 North Concepts Inc. All Rights Reserved.