Class TimeFormats


  • @Internal
    public class TimeFormats
    extends Object
    Time formats and timestamp formats respecting the RFC3339 specification, ISO-8601 specification and SQL specification.
    • Field Detail

      • RFC3339_TIME_FORMAT

        public static final DateTimeFormatter RFC3339_TIME_FORMAT
        Formatter for RFC 3339-compliant string representation of a time value.
      • RFC3339_TIMESTAMP_FORMAT

        public static final DateTimeFormatter RFC3339_TIMESTAMP_FORMAT
        Formatter for RFC 3339-compliant string representation of a timestamp value (with UTC timezone).
      • ISO8601_TIMESTAMP_FORMAT

        public static final 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 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 DateTimeFormatter SQL_TIME_FORMAT
        Formatter for SQL string representation of a time value.
      • SQL_TIMESTAMP_FORMAT

        public static final 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 DateTimeFormatter SQL_TIMESTAMP_WITH_LOCAL_TIMEZONE_FORMAT
        Formatter for SQL string representation of a timestamp value (with UTC timezone).