Uses of Interface
org.joda.time.format.PeriodParser
-
Packages that use PeriodParser Package Description org.joda.time.format Provides printing and parsing support for instants and durations. -
-
Uses of PeriodParser in org.joda.time.format
Classes in org.joda.time.format that implement PeriodParser 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 PeriodParser Modifier and Type Field Description private PeriodParser
PeriodFormatterBuilder.Separator. iAfterParser
private PeriodParser
PeriodFormatterBuilder.Separator. iBeforeParser
private PeriodParser
PeriodFormatter. iParser
The internal parser used to output the datetime.private PeriodParser[]
PeriodFormatterBuilder.Composite. iParsers
Methods in org.joda.time.format that return PeriodParser Modifier and Type Method Description private PeriodParser
PeriodFormat.DynamicWordBased. getParser(java.util.Locale locale)
PeriodParser
PeriodFormatter. getParser()
Gets the internal parser object that performs the real parsing work.PeriodParser
PeriodFormatterBuilder. toParser()
Internal method to create a PeriodParser instance using all the appended elements.Methods in org.joda.time.format with parameters of type PeriodParser 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 PeriodParser 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)
-