Class DateTimeFormat.ISODateTimeFormat
- java.lang.Object
-
- io.debezium.connector.postgresql.connection.wal2json.DateTimeFormat.ISODateTimeFormat
-
- All Implemented Interfaces:
DateTimeFormat
- Enclosing interface:
- DateTimeFormat
public static class DateTimeFormat.ISODateTimeFormat extends Object implements DateTimeFormat
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface io.debezium.connector.postgresql.connection.wal2json.DateTimeFormat
DateTimeFormat.ISODateTimeFormat
-
-
Field Summary
Fields Modifier and Type Field Description private static DateTimeFormatterDATE_FORMAT_OPT_ERAprivate static StringDATE_FORMAT_OPT_ERA_PATTERN_HINTprivate static org.slf4j.LoggerLOGGERprivate static DateTimeFormatterNON_ISO_LOCAL_DATEprivate static DateTimeFormatterSYSTEM_TS_FORMATprivate static StringSYSTEM_TS_FORMAT_PATTERN_HINTprivate static DateTimeFormatterTIME_FORMATprivate static StringTIME_FORMAT_PATTERNprivate static DateTimeFormatterTIME_TZ_FORMATprivate static StringTIME_TZ_FORMAT_PATTERNprivate static DateTimeFormatterTS_FORMATprivate static StringTS_FORMAT_PATTERN_HINTprivate static DateTimeFormatterTS_TZ_FORMATprivate static StringTS_TZ_FORMAT_PATTERN_HINTprivate static DateTimeFormatterTS_TZ_WITH_SECONDS_FORMAT
-
Constructor Summary
Constructors Constructor Description ISODateTimeFormat()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LocalDatedate(String s)private <T> Tformat(String pattern, String s, Supplier<T> value)InstantsystemTimestampToInstant(String s)LocalTimetime(String s)InstanttimestampToInstant(String s)OffsetDateTimetimestampWithTimeZoneToOffsetDateTime(String s)OffsetTimetimeWithTimeZone(String s)
-
-
-
Field Detail
-
LOGGER
private static final org.slf4j.Logger LOGGER
-
NON_ISO_LOCAL_DATE
private static final DateTimeFormatter NON_ISO_LOCAL_DATE
-
TS_FORMAT_PATTERN_HINT
private static final String TS_FORMAT_PATTERN_HINT
- See Also:
- Constant Field Values
-
TS_FORMAT
private static final DateTimeFormatter TS_FORMAT
-
TS_TZ_FORMAT_PATTERN_HINT
private static final String TS_TZ_FORMAT_PATTERN_HINT
- See Also:
- Constant Field Values
-
TS_TZ_FORMAT
private static final DateTimeFormatter TS_TZ_FORMAT
-
TS_TZ_WITH_SECONDS_FORMAT
private static final DateTimeFormatter TS_TZ_WITH_SECONDS_FORMAT
-
SYSTEM_TS_FORMAT_PATTERN_HINT
private static final String SYSTEM_TS_FORMAT_PATTERN_HINT
- See Also:
- Constant Field Values
-
SYSTEM_TS_FORMAT
private static final DateTimeFormatter SYSTEM_TS_FORMAT
-
DATE_FORMAT_OPT_ERA_PATTERN_HINT
private static final String DATE_FORMAT_OPT_ERA_PATTERN_HINT
- See Also:
- Constant Field Values
-
DATE_FORMAT_OPT_ERA
private static final DateTimeFormatter DATE_FORMAT_OPT_ERA
-
TIME_FORMAT_PATTERN
private static final String TIME_FORMAT_PATTERN
- See Also:
- Constant Field Values
-
TIME_FORMAT
private static final DateTimeFormatter TIME_FORMAT
-
TIME_TZ_FORMAT_PATTERN
private static final String TIME_TZ_FORMAT_PATTERN
- See Also:
- Constant Field Values
-
TIME_TZ_FORMAT
private static final DateTimeFormatter TIME_TZ_FORMAT
-
-
Method Detail
-
date
public LocalDate date(String s)
- Specified by:
datein interfaceDateTimeFormat
-
time
public LocalTime time(String s)
- Specified by:
timein interfaceDateTimeFormat
-
timeWithTimeZone
public OffsetTime timeWithTimeZone(String s)
- Specified by:
timeWithTimeZonein interfaceDateTimeFormat
-
timestampToInstant
public Instant timestampToInstant(String s)
- Specified by:
timestampToInstantin interfaceDateTimeFormat
-
timestampWithTimeZoneToOffsetDateTime
public OffsetDateTime timestampWithTimeZoneToOffsetDateTime(String s)
- Specified by:
timestampWithTimeZoneToOffsetDateTimein interfaceDateTimeFormat
-
systemTimestampToInstant
public Instant systemTimestampToInstant(String s)
- Specified by:
systemTimestampToInstantin interfaceDateTimeFormat
-
-