| Package | Description |
|---|---|
| net.time4j.format.platform |
Temporal formatters which access the platform specific resources.
|
| Modifier and Type | Field and Description |
|---|---|
static SimpleFormatter<Moment> |
SimpleFormatter.RFC_1123
Defines the RFC-1123-format which is for example used in mail headers (technical internet-timestamp).
|
| Modifier and Type | Method and Description |
|---|---|
static SimpleFormatter<PlainDate> |
SimpleFormatter.ofDatePattern(String pattern,
Locale locale)
Creates a new formatter which uses the given pattern and locale
for formatting and parsing plain dates.
|
static SimpleFormatter<PlainDate> |
SimpleFormatter.ofDateStyle(DisplayMode style,
Locale locale)
Deprecated.
|
static SimpleFormatter<PlainDate> |
SimpleFormatter.ofDateStyle(FormatStyle style,
Locale locale)
Constructs a style-based formatter for plain date objects.
|
static SimpleFormatter<Moment> |
SimpleFormatter.ofMomentPattern(String pattern,
Locale locale,
TZID tzid)
Constructs a pattern-based formatter for global timestamp objects (moments).
|
static SimpleFormatter<Moment> |
SimpleFormatter.ofMomentStyle(DisplayMode dateStyle,
DisplayMode timeStyle,
Locale locale,
TZID tzid)
Deprecated.
|
static SimpleFormatter<Moment> |
SimpleFormatter.ofMomentStyle(FormatStyle dateStyle,
FormatStyle timeStyle,
Locale locale,
TZID tzid)
Constructs a style-based formatter for global timestamp objects (moments).
|
static SimpleFormatter<PlainTime> |
SimpleFormatter.ofTimePattern(String pattern,
Locale locale)
Creates a new formatter which uses the given pattern and locale
for formatting and parsing plain times.
|
static SimpleFormatter<PlainTimestamp> |
SimpleFormatter.ofTimestampPattern(String pattern,
Locale locale)
Creates a new formatter which uses the given pattern and locale
for formatting and parsing plain timestamps.
|
static SimpleFormatter<PlainTimestamp> |
SimpleFormatter.ofTimestampStyle(DisplayMode dateStyle,
DisplayMode timeStyle,
Locale locale)
Deprecated.
|
static SimpleFormatter<PlainTimestamp> |
SimpleFormatter.ofTimestampStyle(FormatStyle dateStyle,
FormatStyle timeStyle,
Locale locale)
Constructs a style-based formatter for plain timestamp objects.
|
static SimpleFormatter<PlainTime> |
SimpleFormatter.ofTimeStyle(DisplayMode style,
Locale locale)
Deprecated.
|
static SimpleFormatter<PlainTime> |
SimpleFormatter.ofTimeStyle(FormatStyle style,
Locale locale)
Constructs a style-based formatter for plain time objects.
|
Copyright © 2014–2021. All rights reserved.