Package org.apache.flink.formats.common
Class TimeFormats
java.lang.Object
org.apache.flink.formats.common.TimeFormats
Time formats and timestamp formats respecting the RFC3339 specification, ISO-8601 specification
and SQL specification.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final DateTimeFormatterFormatter for ISO8601 string representation of a timestamp value (without UTC timezone).static final DateTimeFormatterFormatter for ISO8601 string representation of a timestamp value (with UTC timezone).static final DateTimeFormatterFormatter for RFC 3339-compliant string representation of a time value.static final DateTimeFormatterFormatter for RFC 3339-compliant string representation of a timestamp value (with UTC timezone).static final DateTimeFormatterFormatter for SQL string representation of a time value.static final DateTimeFormatterFormatter for SQL string representation of a timestamp value (without UTC timezone).static final DateTimeFormatterFormatter for SQL string representation of a timestamp value (with UTC timezone). -
Method Summary
-
Field Details
-
RFC3339_TIME_FORMAT
Formatter for RFC 3339-compliant string representation of a time value. -
RFC3339_TIMESTAMP_FORMAT
Formatter for RFC 3339-compliant string representation of a timestamp value (with UTC timezone). -
ISO8601_TIMESTAMP_FORMAT
Formatter for ISO8601 string representation of a timestamp value (without UTC timezone). -
ISO8601_TIMESTAMP_WITH_LOCAL_TIMEZONE_FORMAT
Formatter for ISO8601 string representation of a timestamp value (with UTC timezone). -
SQL_TIME_FORMAT
Formatter for SQL string representation of a time value. -
SQL_TIMESTAMP_FORMAT
Formatter for SQL string representation of a timestamp value (without UTC timezone). -
SQL_TIMESTAMP_WITH_LOCAL_TIMEZONE_FORMAT
Formatter for SQL string representation of a timestamp value (with UTC timezone).
-