Uses of Enum Class
net.time4j.format.expert.PatternType
Package
Description
This package contains the expert-level format- and parse engine of Time4J.
-
Uses of PatternType in net.time4j.format.expert
Modifier and TypeMethodDescriptionstatic PatternType
Returns the enum constant of this class with the specified name.static PatternType[]
PatternType.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionChronoFormatter.Builder.addPattern(String formatPattern, PatternType patternType)
Processes given format pattern of given pattern type to a sequence of format elements.static ChronoFormatter<PlainDate>
ChronoFormatter.ofDatePattern(String pattern, PatternType type, Locale locale)
Constructs a pattern-based formatter for plain date objects.static ChronoParser<Moment>
ChronoFormatter.ofMomentPattern(String pattern, PatternType type, Locale locale)
Constructs a pattern-based parser for global timestamp objects.static ChronoFormatter<Moment>
ChronoFormatter.ofMomentPattern(String pattern, PatternType type, Locale locale, TZID tzid)
Constructs a pattern-based formatter for global timestamp objects.static <T> ChronoFormatter<T>
ChronoFormatter.ofPattern(String pattern, PatternType type, Locale locale, Chronology<T> chronology)
Constructs a pattern-based formatter for general chronologies.static ChronoFormatter<PlainTime>
ChronoFormatter.ofTimePattern(String pattern, PatternType type, Locale locale)
Constructs a pattern-based formatter for clock time objects.static ChronoFormatter<PlainTimestamp>
ChronoFormatter.ofTimestampPattern(String pattern, PatternType type, Locale locale)
Constructs a pattern-based formatter for plain timestamps.