Class BcAdFormatPattern

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

public class BcAdFormatPattern extends FormatPattern
The date/time format component for BC/AD (era, ie. BCE/CE).
  • Constructor Details

    • BcAdFormatPattern

      public BcAdFormatPattern(String pattern)
  • 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