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

public class DateTimePatternMatch extends Bean
An immutable value parsed from string using DateTimePattern. This class holds the pattern used for parsing (getPattern()) and the parsed value (getValue()).
See Also:
  • Constructor Details

  • Method Details

    • getPattern

      public DateTimePattern getPattern()
      The pattern used for parsing.
    • getValue

      public TemporalAccessor getValue()
      The parsed value.
    • getFieldType

      public FieldType getFieldType()
      Returns FieldType.
    • getFieldType

      public FieldType getFieldType(boolean throwExceptionOnFailure)
      Returns FieldType.
    • getTemporalAccessor

      @Deprecated public TemporalAccessor getTemporalAccessor()
      Deprecated.
      use getValue() instead.
      The parsed value.
    • toString

      public String toString()
      Description copied from class: Bean
      Returns a basic JSON representation of this instance.
      Overrides:
      toString in class Bean