Uses of Interface
net.time4j.format.expert.ChronoParser
Package
Description
Contains miscellaneous clock implementations.
This package contains the expert-level format- and parse engine of Time4J.
Interval support.
-
Uses of ChronoParser in net.time4j.clock
ModifierConstructorDescriptionDaytimeClock(String server, ChronoParser<Moment> parser)
Creates a new instance which uses the given time server on the port 13. -
Uses of ChronoParser in net.time4j.format.expert
Modifier and TypeClassDescriptionclass
Represents a chronological format for the conversion between a chronological text and the chronological value of type T.class
MultiFormatParser<T extends ChronoEntity<T>>
Serves for parsing of text input whose format is not yet known at compile time.Modifier and TypeMethodDescriptionstatic ChronoParser<Moment>
ChronoFormatter.ofMomentPattern(String pattern, PatternType type, Locale locale)
Constructs a pattern-based parser for global timestamp objects.static <T> ChronoParser<T>
ChronoParser.unsupported()
Creates a simple placeholder in situations where parsing is not used.Modifier and TypeMethodDescription<V> ChronoFormatter.Builder<T>
ChronoFormatter.Builder.addCustomized(ChronoElement<V> element, ChronoPrinter<V> printer, ChronoParser<V> parser)
Defines a customized format element for given chronological element. -
Uses of ChronoParser in net.time4j.range
Modifier and TypeMethodDescriptionCalendarPeriod.Factory.parse(CharSequence text, ChronoParser<T> parser, String intervalPattern)
CalendarPeriod.Parser.parse(CharSequence text, ChronoParser<T> parser)
Interpretes given text as interval using a localized interval pattern.CalendarPeriod.Parser.parse(CharSequence text, ChronoParser<T> parser, String intervalPattern)
Interpretes given text as interval using given interval pattern.static ClockInterval
ClockInterval.parse(CharSequence text, ChronoParser<PlainTime> startFormat, char separator, ChronoParser<PlainTime> endFormat, BracketPolicy policy, ParseLog status)
Interpretes given text as interval.static ClockInterval
ClockInterval.parse(CharSequence text, ChronoParser<PlainTime> parser, BracketPolicy policy)
Interpretes given text as interval.static ClockInterval
ClockInterval.parse(String text, ChronoParser<PlainTime> parser)
Interpretes given text as interval using a localized interval pattern.static ClockInterval
ClockInterval.parse(String text, ChronoParser<PlainTime> parser, String intervalPattern)
Interpretes given text as interval using given interval pattern.static DateInterval
DateInterval.parse(CharSequence text, ChronoParser<PlainDate> startFormat, char separator, ChronoParser<PlainDate> endFormat, BracketPolicy policy, ParseLog status)
Interpretes given text as interval.static DateInterval
DateInterval.parse(CharSequence text, ChronoParser<PlainDate> parser, BracketPolicy policy)
Interpretes given text as interval.static DateInterval
DateInterval.parse(String text, ChronoParser<PlainDate> parser)
Interpretes given text as interval using a localized interval pattern.static DateInterval
DateInterval.parse(String text, ChronoParser<PlainDate> parser, String intervalPattern)
Interpretes given text as interval using given interval pattern.static MomentInterval
MomentInterval.parse(CharSequence text, ChronoParser<Moment> startFormat, char separator, ChronoParser<Moment> endFormat, BracketPolicy policy, ParseLog status)
Interpretes given text as interval.static MomentInterval
MomentInterval.parse(CharSequence text, ChronoParser<Moment> parser, BracketPolicy policy)
Interpretes given text as interval.static MomentInterval
MomentInterval.parse(String text, ChronoParser<Moment> parser)
Interpretes given text as interval using a localized interval pattern.static MomentInterval
MomentInterval.parse(String text, ChronoParser<Moment> parser, String intervalPattern)
Interpretes given text as interval using given interval pattern.SimpleInterval.Factory.parse(CharSequence text, ChronoParser<T> parser)
Interpretes given text as interval using a localized interval pattern.SimpleInterval.Factory.parse(CharSequence text, ChronoParser<T> parser, String intervalPattern)
Interpretes given text as interval using given interval pattern.static TimestampInterval
TimestampInterval.parse(CharSequence text, ChronoParser<PlainTimestamp> startFormat, char separator, ChronoParser<PlainTimestamp> endFormat, BracketPolicy policy, ParseLog status)
Interpretes given text as interval.static TimestampInterval
TimestampInterval.parse(CharSequence text, ChronoParser<PlainTimestamp> parser, BracketPolicy policy)
Interpretes given text as interval.static TimestampInterval
TimestampInterval.parse(String text, ChronoParser<PlainTimestamp> parser)
Interpretes given text as interval using a localized interval pattern.static TimestampInterval
TimestampInterval.parse(String text, ChronoParser<PlainTimestamp> parser, String intervalPattern)
Interpretes given text as interval using given interval pattern.