Class TimeZoneOffsetFormatPattern
java.lang.Object
org.apache.calcite.util.format.postgresql.format.FormatPattern
org.apache.calcite.util.format.postgresql.format.TimeZoneOffsetFormatPattern
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".
-
Field Summary
Fields inherited from class org.apache.calcite.util.format.postgresql.format.FormatPattern
pattern -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected CompiledPatternbuildCompiledPattern(Set<PatternModifier> modifiers) Creates a new instance of the compiled version of this date/time component.Methods inherited from class org.apache.calcite.util.format.postgresql.format.FormatPattern
compilePattern, getPattern
-
Constructor Details
-
TimeZoneOffsetFormatPattern
public TimeZoneOffsetFormatPattern()
-
-
Method Details
-
buildCompiledPattern
Description copied from class:FormatPatternCreates a new instance of the compiled version of this date/time component.- Specified by:
buildCompiledPatternin classFormatPattern- Parameters:
modifiers- the set of flags that were parsed- Returns:
- a new instance of the compiled version of this date/time component
-