Uses of Class
net.time4j.format.platform.SimpleFormatter
Package
Description
Temporal formatters which access the platform specific resources.
-
Uses of SimpleFormatter in net.time4j.format.platform
Modifier and TypeFieldDescriptionstatic SimpleFormatter<Moment>
SimpleFormatter.RFC_1123
Defines the RFC-1123-format which is for example used in mail headers (technical internet-timestamp).Modifier and TypeMethodDescriptionstatic 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(FormatStyle style, Locale locale)
Constructs a style-based formatter for plain date objects.static SimpleFormatter<PlainDate>
SimpleFormatter.ofDateStyle(DisplayMode style, Locale locale)
Deprecated.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(FormatStyle dateStyle, FormatStyle timeStyle, Locale locale, TZID tzid)
Constructs a style-based formatter for global timestamp objects (moments).static SimpleFormatter<Moment>
SimpleFormatter.ofMomentStyle(DisplayMode dateStyle, DisplayMode timeStyle, Locale locale, TZID tzid)
Deprecated.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(FormatStyle dateStyle, FormatStyle timeStyle, Locale locale)
Constructs a style-based formatter for plain timestamp objects.static SimpleFormatter<PlainTimestamp>
SimpleFormatter.ofTimestampStyle(DisplayMode dateStyle, DisplayMode timeStyle, Locale locale)
Deprecated.static SimpleFormatter<PlainTime>
SimpleFormatter.ofTimeStyle(FormatStyle style, Locale locale)
Constructs a style-based formatter for plain time objects.static SimpleFormatter<PlainTime>
SimpleFormatter.ofTimeStyle(DisplayMode style, Locale locale)
Deprecated.
ofDateStyle(FormatStyle, Locale)