public class Iso8601Format extends Object
Collection of predefined format objects for ISO-8601.
| Modifier and Type | Field and Description |
|---|---|
static ChronoFormatter<PlainDate> |
BASIC_CALENDAR_DATE
Defines the basic ISO-8601-format with year, month and day
of month using the pattern "uuuuMMdd".
|
static ChronoFormatter<PlainTimestamp> |
BASIC_DATE_TIME
Defines the basic ISO-8601-format for a composition of
calendar date and wall time with hour and minute using the pattern
"uuuuMMdd'T'HH[mm[ss[SSSSSSSSS]]]".
|
static ChronoFormatter<Moment> |
BASIC_DATE_TIME_OFFSET
Defines the basic ISO-8601-format for a composition of
calendar date, wall time and timezone offset using the pattern
"uuuuMMdd'T'HH[mm[ss[SSSSSSSSS]]]X".
|
static ChronoFormatter<PlainDate> |
BASIC_ORDINAL_DATE
Defines the basic ISO-8601-format with year and day of year
using the pattern "uuuuDDD".
|
static ChronoFormatter<PlainTime> |
BASIC_WALL_TIME
Defines the basic ISO-8601-format for a wall time with
hour, minute and optional second using the pattern
"HH[mm[ss[SSSSSSSSS]]]".
|
static ChronoFormatter<PlainDate> |
BASIC_WEEK_DATE
Defines the basic ISO-8601-format for a week date using
the pattern "YYYYWwwE".
|
static ChronoFormatter<PlainDate> |
EXTENDED_CALENDAR_DATE
Defines the extended ISO-8601-format with year, month and
day of month using the pattern "uuuu-MM-dd".
|
static ChronoFormatter<PlainTimestamp> |
EXTENDED_DATE_TIME
Defines the extended ISO-8601-format for a composition of
calendar date and wall time with hour and minute using the pattern
"uuuu-MM-dd'T'HH[:mm[:ss[,SSSSSSSSS]]]".
|
static ChronoFormatter<Moment> |
EXTENDED_DATE_TIME_OFFSET
Defines the extended ISO-8601-format for a composition of
calendar date, wall time and timezone offset using the pattern
"uuuu-MM-dd'T'HH[:mm[:ss[,SSSSSSSSS]]]XXX".
|
static ChronoFormatter<PlainDate> |
EXTENDED_ORDINAL_DATE
Defines the extended ISO-8601-format with year and day
of year using the pattern "uuuu-DDD".
|
static ChronoFormatter<PlainTime> |
EXTENDED_WALL_TIME
Defines the extended ISO-8601-format for a wall time
with hour, minute and optional second using the pattern
"HH[:mm[:ss[,SSSSSSSSS]]]".
|
static ChronoFormatter<PlainDate> |
EXTENDED_WEEK_DATE
Defines the extended ISO-8601-format for a week date
using the pattern "YYYY-Www-E".
|
public static final ChronoFormatter<PlainDate> BASIC_CALENDAR_DATE
Defines the basic ISO-8601-format with year, month and day of month using the pattern "uuuuMMdd".
public static final ChronoFormatter<PlainDate> EXTENDED_CALENDAR_DATE
Defines the extended ISO-8601-format with year, month and day of month using the pattern "uuuu-MM-dd".
public static final ChronoFormatter<PlainDate> BASIC_ORDINAL_DATE
Defines the basic ISO-8601-format with year and day of year using the pattern "uuuuDDD".
public static final ChronoFormatter<PlainDate> EXTENDED_ORDINAL_DATE
Defines the extended ISO-8601-format with year and day of year using the pattern "uuuu-DDD".
public static final ChronoFormatter<PlainDate> BASIC_WEEK_DATE
Defines the basic ISO-8601-format for a week date using the pattern "YYYYWwwE".
public static final ChronoFormatter<PlainDate> EXTENDED_WEEK_DATE
Defines the extended ISO-8601-format for a week date using the pattern "YYYY-Www-E".
public static final ChronoFormatter<PlainTime> BASIC_WALL_TIME
Defines the basic ISO-8601-format for a wall time with hour, minute and optional second using the pattern "HH[mm[ss[SSSSSSSSS]]]".
The minute part is optional during parsing, but will always be printed.
public static final ChronoFormatter<PlainTime> EXTENDED_WALL_TIME
Defines the extended ISO-8601-format for a wall time with hour, minute and optional second using the pattern "HH[:mm[:ss[,SSSSSSSSS]]]".
The minute part is optional during parsing, but will always be printed.
public static final ChronoFormatter<PlainTimestamp> BASIC_DATE_TIME
Defines the basic ISO-8601-format for a composition of calendar date and wall time with hour and minute using the pattern "uuuuMMdd'T'HH[mm[ss[SSSSSSSSS]]]".
Second and nanosecond elements are optional. Furthermore, the count of decimal digits is flexible (0-9). The minute part is optional during parsing, but will always be printed.
public static final ChronoFormatter<PlainTimestamp> EXTENDED_DATE_TIME
Defines the extended ISO-8601-format for a composition of calendar date and wall time with hour and minute using the pattern "uuuu-MM-dd'T'HH[:mm[:ss[,SSSSSSSSS]]]".
Second and nanosecond elements are optional. Furthermore, the count of decimal digits is flexible (0-9). The minute part is optional during parsing, but will always be printed.
public static final ChronoFormatter<Moment> BASIC_DATE_TIME_OFFSET
Defines the basic ISO-8601-format for a composition of calendar date, wall time and timezone offset using the pattern "uuuuMMdd'T'HH[mm[ss[SSSSSSSSS]]]X".
Second and nanosecond elements are optional. Furthermore, the count of decimal digits is flexible (0-9). The minute part is optional during parsing, but will always be printed.
By default, the timezone offset used for printing is UTC+00:00.
Users can override this offset by calling the method
ChronoFormatter.withTimezone(net.time4j.tz.TZID).
public static final ChronoFormatter<Moment> EXTENDED_DATE_TIME_OFFSET
Defines the extended ISO-8601-format for a composition of calendar date, wall time and timezone offset using the pattern "uuuu-MM-dd'T'HH[:mm[:ss[,SSSSSSSSS]]]XXX".
Second and nanosecond elements are optional. Furthermore, the count of decimal digits is flexible (0-9). The minute part is optional during parsing, but will always be printed.
By default, the timezone offset used for printing is UTC+00:00.
Users can override this offset by calling the method
ChronoFormatter.withTimezone(net.time4j.tz.TZID).
Copyright © 2014. All rights reserved.