Package org.apache.flink.formats.common
Class TimeFormats
- java.lang.Object
-
- org.apache.flink.formats.common.TimeFormats
-
@Internal public class TimeFormats extends Object
Time formats and timestamp formats respecting the RFC3339 specification, ISO-8601 specification and SQL specification.
-
-
Field Summary
Fields Modifier and Type Field Description static java.time.format.DateTimeFormatterISO8601_TIMESTAMP_FORMATFormatter for ISO8601 string representation of a timestamp value (without UTC timezone).static java.time.format.DateTimeFormatterISO8601_TIMESTAMP_WITH_LOCAL_TIMEZONE_FORMATFormatter for ISO8601 string representation of a timestamp value (with UTC timezone).static java.time.format.DateTimeFormatterRFC3339_TIME_FORMATFormatter for RFC 3339-compliant string representation of a time value.static java.time.format.DateTimeFormatterRFC3339_TIMESTAMP_FORMATFormatter for RFC 3339-compliant string representation of a timestamp value (with UTC timezone).static java.time.format.DateTimeFormatterSQL_TIME_FORMATFormatter for SQL string representation of a time value.static java.time.format.DateTimeFormatterSQL_TIMESTAMP_FORMATFormatter for SQL string representation of a timestamp value (without UTC timezone).static java.time.format.DateTimeFormatterSQL_TIMESTAMP_WITH_LOCAL_TIMEZONE_FORMATFormatter for SQL string representation of a timestamp value (with UTC timezone).
-
-
-
Field Detail
-
RFC3339_TIME_FORMAT
public static final java.time.format.DateTimeFormatter RFC3339_TIME_FORMAT
Formatter for RFC 3339-compliant string representation of a time value.
-
RFC3339_TIMESTAMP_FORMAT
public static final java.time.format.DateTimeFormatter RFC3339_TIMESTAMP_FORMAT
Formatter for RFC 3339-compliant string representation of a timestamp value (with UTC timezone).
-
ISO8601_TIMESTAMP_FORMAT
public static final java.time.format.DateTimeFormatter ISO8601_TIMESTAMP_FORMAT
Formatter for ISO8601 string representation of a timestamp value (without UTC timezone).
-
ISO8601_TIMESTAMP_WITH_LOCAL_TIMEZONE_FORMAT
public static final java.time.format.DateTimeFormatter ISO8601_TIMESTAMP_WITH_LOCAL_TIMEZONE_FORMAT
Formatter for ISO8601 string representation of a timestamp value (with UTC timezone).
-
SQL_TIME_FORMAT
public static final java.time.format.DateTimeFormatter SQL_TIME_FORMAT
Formatter for SQL string representation of a time value.
-
SQL_TIMESTAMP_FORMAT
public static final java.time.format.DateTimeFormatter SQL_TIMESTAMP_FORMAT
Formatter for SQL string representation of a timestamp value (without UTC timezone).
-
SQL_TIMESTAMP_WITH_LOCAL_TIMEZONE_FORMAT
public static final java.time.format.DateTimeFormatter SQL_TIMESTAMP_WITH_LOCAL_TIMEZONE_FORMAT
Formatter for SQL string representation of a timestamp value (with UTC timezone).
-
-