| Package | Description |
|---|---|
| net.time4j |
The main package contains four basic types of ISO-8601, namely
PlainDate, PlainTime, PlainTimestamp
and Moment. |
| net.time4j.format |
Defines common interfaces for any format support of Time4J.
|
| Modifier and Type | Method and Description |
|---|---|
static TemporalFormatter<PlainTime> |
PlainTime.formatter(DisplayMode mode,
Locale locale)
Creates a new formatter which uses the given display mode and locale
for formatting and parsing plain times.
|
static TemporalFormatter<PlainDate> |
PlainDate.formatter(DisplayMode mode,
Locale locale)
Creates a new formatter which uses the given display mode and locale
for formatting and parsing plain dates.
|
static TemporalFormatter<Moment> |
Moment.formatter(DisplayMode mode,
Locale locale,
TZID tzid)
Creates a new formatter which uses the given display mode and locale
for formatting and parsing moments in given timezone.
|
static TemporalFormatter<PlainTime> |
PlainTime.localFormatter(DisplayMode mode)
Creates a new formatter which uses the given display mode in the
default locale for formatting and parsing plain times.
|
static TemporalFormatter<PlainDate> |
PlainDate.localFormatter(DisplayMode mode)
Creates a new formatter which uses the given display mode in the
default locale for formatting and parsing plain dates.
|
static TemporalFormatter<Moment> |
Moment.localFormatter(DisplayMode mode)
Creates a new formatter which uses the given display mode in the
default locale for formatting and parsing UTC-timestamps.
|
| Modifier and Type | Method and Description |
|---|---|
static DisplayMode |
DisplayMode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DisplayMode[] |
DisplayMode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Copyright © 2014–2015. All rights reserved.