Class TimeZoneOffsetFormatPattern

java.lang.Object
org.apache.calcite.util.format.postgresql.format.FormatPattern
org.apache.calcite.util.format.postgresql.format.TimeZoneOffsetFormatPattern

public class TimeZoneOffsetFormatPattern extends FormatPattern
The date/time format component for the hours and minutes of the timezone offset. Can be just two digits plus sign if the UTC offset is a whole number of hours. Otherwise, it is a value similar to "+07:30".
  • Constructor Details

    • TimeZoneOffsetFormatPattern

      public TimeZoneOffsetFormatPattern()
  • Method Details

    • buildCompiledPattern

      protected CompiledPattern buildCompiledPattern(Set<PatternModifier> modifiers)
      Description copied from class: FormatPattern
      Creates a new instance of the compiled version of this date/time component.
      Specified by:
      buildCompiledPattern in class FormatPattern
      Parameters:
      modifiers - the set of flags that were parsed
      Returns:
      a new instance of the compiled version of this date/time component