Uses of Interface
net.time4j.format.expert.ChronoPrinter
Package
Description
This package contains the expert-level format- and parse engine of Time4J.
Interval support.
-
Uses of ChronoPrinter 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.Modifier and TypeMethodDescriptionstatic ChronoPrinter<PlainTime>
Iso8601Format.ofBasicTime(IsoDecimalStyle decimalStyle, ClockUnit precision)
Obtains a printer with given decimal style for printing a clock time in basic format "HHmm[ss[,SSSSSSSSS]]".static ChronoPrinter<PlainDate>
Iso8601Format.ofDate(IsoDateStyle style)
Obtains a printer with given styles for printing a calendar date.static ChronoPrinter<PlainTime>
Iso8601Format.ofExtendedTime(IsoDecimalStyle decimalStyle, ClockUnit precision)
Obtains a printer with given decimal style for printing a clock time in extended format "HH:mm[:ss[,SSSSSSSSS]]".static ChronoPrinter<Moment>
Iso8601Format.ofMoment(IsoDateStyle dateStyle, IsoDecimalStyle decimalStyle, ClockUnit precision, ZonalOffset offset)
Obtains a printer with given styles for printing a moment.static ChronoPrinter<PlainTimestamp>
Iso8601Format.ofTimestamp(IsoDateStyle dateStyle, IsoDecimalStyle decimalStyle, ClockUnit precision)
Obtains a printer with given styles for printing a timestamp.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 ChronoPrinter in net.time4j.range
Modifier and TypeMethodDescriptionCalendarPeriod.print(ChronoPrinter<T> printer)
Prints this interval using a localized interval pattern.CalendarPeriod.print(ChronoPrinter<T> printer, String intervalPattern)
Prints this interval in a custom format.IsoInterval.print(ChronoPrinter<T> printer)
Prints the canonical form of this interval using a localized interval pattern.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, String intervalPattern)
Prints the canonical form of this interval in a custom format.IsoInterval.print(ChronoPrinter<T> printer, BracketPolicy policy)
Prints the start and end separated by a slash using given formatter (technical format).SimpleInterval.print(ChronoPrinter<T> printer)
Prints this interval using a localized interval pattern.SimpleInterval.print(ChronoPrinter<T> printer, String intervalPattern)
Prints this interval in a custom format.