Uses of Enum Class
net.time4j.range.BracketPolicy
-
Uses of BracketPolicy in net.time4j.range
Modifier and TypeMethodDescriptionstatic BracketPolicy
Returns the enum constant of this class with the specified name.static BracketPolicy[]
BracketPolicy.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionstatic 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 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 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 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.void
IsoInterval.print(ChronoPrinter<T> startFormat, char separator, ChronoPrinter<T> endFormat, BracketPolicy policy, InfinityStyle infinityStyle, Appendable buffer)
Prints this interval in a technical format using given formatters and separator.IsoInterval.print(ChronoPrinter<T> printer, BracketPolicy policy)
Prints the start and end separated by a slash using given formatter (technical format).