public static class DateTimeFormat.ISODateTimeFormat extends Object implements DateTimeFormat
DateTimeFormat.ISODateTimeFormat| Modifier and Type | Field and Description |
|---|---|
private static DateTimeFormatter |
DATE_FORMAT_OPT_ERA |
private static String |
DATE_FORMAT_OPT_ERA_PATTERN_HINT |
private static org.slf4j.Logger |
LOGGER |
private static DateTimeFormatter |
NON_ISO_LOCAL_DATE |
private static DateTimeFormatter |
SYSTEM_TS_FORMAT |
private static String |
SYSTEM_TS_FORMAT_PATTERN_HINT |
private static DateTimeFormatter |
TIME_FORMAT |
private static String |
TIME_FORMAT_PATTERN |
private static DateTimeFormatter |
TIME_TZ_FORMAT |
private static String |
TIME_TZ_FORMAT_PATTERN |
private static DateTimeFormatter |
TS_FORMAT |
private static String |
TS_FORMAT_PATTERN_HINT |
private static DateTimeFormatter |
TS_TZ_FORMAT |
private static String |
TS_TZ_FORMAT_PATTERN_HINT |
| Constructor and Description |
|---|
ISODateTimeFormat() |
| Modifier and Type | Method and Description |
|---|---|
LocalDate |
date(String s) |
private <T> T |
format(String pattern,
String s,
Supplier<T> value) |
Instant |
systemTimestampToInstant(String s) |
LocalTime |
time(String s) |
Instant |
timestampToInstant(String s) |
OffsetDateTime |
timestampWithTimeZoneToOffsetDateTime(String s) |
OffsetTime |
timeWithTimeZone(String s) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetprivate static final org.slf4j.Logger LOGGER
private static final DateTimeFormatter NON_ISO_LOCAL_DATE
private static final String TS_FORMAT_PATTERN_HINT
private static final DateTimeFormatter TS_FORMAT
private static final String TS_TZ_FORMAT_PATTERN_HINT
private static final DateTimeFormatter TS_TZ_FORMAT
private static final String SYSTEM_TS_FORMAT_PATTERN_HINT
private static final DateTimeFormatter SYSTEM_TS_FORMAT
private static final String DATE_FORMAT_OPT_ERA_PATTERN_HINT
private static final DateTimeFormatter DATE_FORMAT_OPT_ERA
private static final String TIME_FORMAT_PATTERN
private static final DateTimeFormatter TIME_FORMAT
private static final String TIME_TZ_FORMAT_PATTERN
private static final DateTimeFormatter TIME_TZ_FORMAT
public LocalDate date(String s)
date in interface DateTimeFormatpublic LocalTime time(String s)
time in interface DateTimeFormatpublic OffsetTime timeWithTimeZone(String s)
timeWithTimeZone in interface DateTimeFormatpublic Instant timestampToInstant(String s)
timestampToInstant in interface DateTimeFormatpublic OffsetDateTime timestampWithTimeZoneToOffsetDateTime(String s)
timestampWithTimeZoneToOffsetDateTime in interface DateTimeFormatpublic Instant systemTimestampToInstant(String s)
systemTimestampToInstant in interface DateTimeFormatCopyright © 2019 JBoss by Red Hat. All rights reserved.