| 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 | Class and Description |
|---|---|
class |
Platform
Defines the default format pattern of the actual platform.
|
| Modifier and Type | Method and Description |
|---|---|
static <P extends ChronoPattern<P>> |
PlainTimestamp.formatter(String formatPattern,
P patternType,
Locale locale)
Creates a new formatter which uses the given pattern and locale
for formatting and parsing plain timestamps.
|
static <P extends ChronoPattern<P>> |
PlainTime.formatter(String formatPattern,
P patternType,
Locale locale)
Creates a new formatter which uses the given pattern and locale
for formatting and parsing plain times.
|
static <P extends ChronoPattern<P>> |
PlainDate.formatter(String formatPattern,
P patternType,
Locale locale)
Creates a new formatter which uses the given pattern and locale
for formatting and parsing plain dates.
|
static <P extends ChronoPattern<P>> |
Moment.formatter(String formatPattern,
P patternType,
Locale locale,
TZID tzid)
Creates a new formatter which uses the given pattern and locale
for formatting and parsing moments in given timezone.
|
static <P extends ChronoPattern<P>> |
PlainTimestamp.localFormatter(String formatPattern,
P patternType)
Creates a new formatter which uses the given pattern in the
default locale for formatting and parsing plain timestamps.
|
static <P extends ChronoPattern<P>> |
PlainTime.localFormatter(String formatPattern,
P patternType)
Creates a new formatter which uses the given pattern in the
default locale for formatting and parsing plain times.
|
static <P extends ChronoPattern<P>> |
PlainDate.localFormatter(String formatPattern,
P patternType)
Creates a new formatter which uses the given pattern in the
default locale for formatting and parsing plain dates.
|
static <P extends ChronoPattern<P>> |
Moment.localFormatter(String formatPattern,
P patternType)
Creates a new formatter which uses the given pattern in the
default locale for formatting and parsing UTC-timestamps.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
ChronoPattern<P extends ChronoPattern<P>>
Allows a flexible interpretation of symbols in format patterns.
|
interface |
FormatEngine<P extends ChronoPattern<P>>
This SPI-interface allows the creation of temporal formats via a builder-approach.
|
Copyright © 2014–2015. All rights reserved.