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 classPeriodFormat.DynamicWordBasedPrinter/parser that reacts to the locale and changes the word-based pattern if necessary.(package private) static classPeriodFormatterBuilder.CompositeComposite implementation that merges other fields to create a full pattern.(package private) static classPeriodFormatterBuilder.FieldFormatterFormats the numeric value of a field, potentially with prefix/suffix.(package private) static classPeriodFormatterBuilder.LiteralHandles a simple literal piece of text.(package private) static classPeriodFormatterBuilder.SeparatorHandles a separator, that splits the fields into multiple parts.Fields in org.joda.time.format declared as PeriodPrinter Modifier and Type Field Description private PeriodPrinterPeriodFormatterBuilder.Separator. iAfterPrinterprivate PeriodPrinterPeriodFormatterBuilder.Separator. iBeforePrinterprivate PeriodPrinterPeriodFormatter. iPrinterThe internal printer used to output the datetime.private PeriodPrinter[]PeriodFormatterBuilder.Composite. iPrintersMethods in org.joda.time.format that return PeriodPrinter Modifier and Type Method Description private PeriodPrinterPeriodFormat.DynamicWordBased. getPrinter(java.util.Locale locale)PeriodPrinterPeriodFormatter. getPrinter()Gets the internal printer object that performs the real printing work.PeriodPrinterPeriodFormatterBuilder. 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 PeriodFormatterBuilderPeriodFormatterBuilder. append(PeriodPrinter printer, PeriodParser parser)Appends a printer parser pair.private PeriodFormatterBuilderPeriodFormatterBuilder. append0(PeriodPrinter printer, PeriodParser parser)(package private) PeriodFormatterBuilder.SeparatorPeriodFormatterBuilder.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)
-