Uses of Interface
org.joda.time.format.PeriodPrinter
-
Packages that use PeriodPrinter Package Description org.joda.time.format Provides printing and parsing support for instants and durations. -
-
Uses of PeriodPrinter in org.joda.time.format
Classes in org.joda.time.format that implement PeriodPrinter Modifier and Type Class Description (package private) static class
PeriodFormat.DynamicWordBased
Printer/parser that reacts to the locale and changes the word-based pattern if necessary.(package private) static class
PeriodFormatterBuilder.Composite
Composite implementation that merges other fields to create a full pattern.(package private) static class
PeriodFormatterBuilder.FieldFormatter
Formats the numeric value of a field, potentially with prefix/suffix.(package private) static class
PeriodFormatterBuilder.Literal
Handles a simple literal piece of text.(package private) static class
PeriodFormatterBuilder.Separator
Handles a separator, that splits the fields into multiple parts.Fields in org.joda.time.format declared as PeriodPrinter Modifier and Type Field Description private PeriodPrinter
PeriodFormatterBuilder.Separator. iAfterPrinter
private PeriodPrinter
PeriodFormatterBuilder.Separator. iBeforePrinter
private PeriodPrinter
PeriodFormatter. iPrinter
The internal printer used to output the datetime.private PeriodPrinter[]
PeriodFormatterBuilder.Composite. iPrinters
Methods in org.joda.time.format that return PeriodPrinter Modifier and Type Method Description private PeriodPrinter
PeriodFormat.DynamicWordBased. getPrinter(java.util.Locale locale)
PeriodPrinter
PeriodFormatter. getPrinter()
Gets the internal printer object that performs the real printing work.PeriodPrinter
PeriodFormatterBuilder. toPrinter()
Internal method to create a PeriodPrinter instance using all the appended elements.Methods in org.joda.time.format with parameters of type PeriodPrinter Modifier and Type Method Description PeriodFormatterBuilder
PeriodFormatterBuilder. append(PeriodPrinter printer, PeriodParser parser)
Appends a printer parser pair.private PeriodFormatterBuilder
PeriodFormatterBuilder. append0(PeriodPrinter printer, PeriodParser parser)
(package private) PeriodFormatterBuilder.Separator
PeriodFormatterBuilder.Separator. finish(PeriodPrinter afterPrinter, PeriodParser afterParser)
Constructors in org.joda.time.format with parameters of type PeriodPrinter Constructor Description PeriodFormatter(PeriodPrinter printer, PeriodParser parser)
Creates a new formatter, however you will normally use the factory or the builder.PeriodFormatter(PeriodPrinter printer, PeriodParser parser, java.util.Locale locale, PeriodType type)
Constructor.Separator(java.lang.String text, java.lang.String finalText, java.lang.String[] variants, PeriodPrinter beforePrinter, PeriodParser beforeParser, boolean useBefore, boolean useAfter)
-