Class DateTimePatternMatch
java.lang.Object
com.northconcepts.datapipeline.foundations.core.Bean
com.northconcepts.datapipeline.foundations.time.DateTimePatternMatch
- All Implemented Interfaces:
DataExceptionContributor,JsonSerializable,RecordSerializable,XmlSerializable,Serializable
An immutable value parsed from string using
DateTimePattern. This class holds the pattern used for parsing (getPattern()) and the parsed value (getValue()).- See Also:
-
Field Summary
Fields inherited from interface com.northconcepts.datapipeline.core.RecordSerializable
SERIALIZED_CLASS_NAME, TYPEFields inherited from interface com.northconcepts.datapipeline.core.XmlSerializable
XML_SERIALIZED_CLASS_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturnsFieldType.getFieldType(boolean throwExceptionOnFailure) ReturnsFieldType.The pattern used for parsing.Deprecated.getValue()The parsed value.toString()Returns a basic JSON representation of this instance.Methods inherited from class com.northconcepts.datapipeline.foundations.core.Bean
addExceptionProperties, fromRecord, toRecordMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.northconcepts.datapipeline.core.DataExceptionContributor
addExceptionProperties, exception, exception, exceptionMethods inherited from interface com.northconcepts.datapipeline.core.RecordSerializable
fromJson, fromJson, toJson, toJson, toJsonMethods inherited from interface com.northconcepts.datapipeline.core.XmlSerializable
fromXml, fromXml, fromXmlElement, toXml, toXml, toXml, toXml, toXml, toXmlElement
-
Constructor Details
-
DateTimePatternMatch
-
-
Method Details
-
getPattern
The pattern used for parsing. -
getValue
The parsed value. -
getFieldType
ReturnsFieldType. -
getFieldType
ReturnsFieldType. -
getTemporalAccessor
Deprecated.usegetValue()instead.The parsed value. -
toString
Description copied from class:BeanReturns a basic JSON representation of this instance.
-
getValue()instead.