Uses of Class
org.joda.time.format.PeriodFormatter
Packages that use PeriodFormatter
Package
Description
Provides support for dates, times, time zones, durations, intervals, and
partials.
Implementation package providing abstract and base time classes.
Provides printing and parsing support for instants and durations.
-
Uses of PeriodFormatter in org.joda.time
Fields in org.joda.time declared as PeriodFormatterModifier and TypeFieldDescriptionprivate static final PeriodFormatterDays.PARSERThe parser to use for this class.private static final PeriodFormatterHours.PARSERThe parser to use for this class.private static final PeriodFormatterMinutes.PARSERThe parser to use for this class.private static final PeriodFormatterMonths.PARSERThe parser to use for this class.private static final PeriodFormatterSeconds.PARSERThe parser to use for this class.private static final PeriodFormatterWeeks.PARSERThe parser to use for this class.private static final PeriodFormatterYears.PARSERThe parser to use for this class.Methods in org.joda.time with parameters of type PeriodFormatterModifier and TypeMethodDescriptionstatic MutablePeriodMutablePeriod.parse(String str, PeriodFormatter formatter) Parses aMutablePeriodfrom the specified string using a formatter.static PeriodPeriod.parse(String str, PeriodFormatter formatter) Parses aPeriodfrom the specified string using a formatter. -
Uses of PeriodFormatter in org.joda.time.base
Methods in org.joda.time.base with parameters of type PeriodFormatterModifier and TypeMethodDescriptionAbstractPeriod.toString(PeriodFormatter formatter) Uses the specified formatter to convert this period to a String. -
Uses of PeriodFormatter in org.joda.time.format
Fields in org.joda.time.format declared as PeriodFormatterModifier and TypeFieldDescriptionprivate static PeriodFormatterISOPeriodFormat.cAlternateCache of alternate months format.private static PeriodFormatterISOPeriodFormat.cAlternateExtendedCache of alternate extended months format.private static PeriodFormatterISOPeriodFormat.cAlternateExtendedWihWeeksCache of alternate extended weeks format.private static PeriodFormatterISOPeriodFormat.cAlternateWithWeeksCache of alternate weeks format.private static PeriodFormatterISOPeriodFormat.cStandardCache of standard format.private final PeriodFormatterPeriodFormat.DynamicWordBased.iFormatterThe formatter with the locale selected at construction time.Fields in org.joda.time.format with type parameters of type PeriodFormatterModifier and TypeFieldDescriptionprivate static final ConcurrentMap<Locale, PeriodFormatter> PeriodFormat.FORMATTERSThe created formatters.Methods in org.joda.time.format that return PeriodFormatterModifier and TypeMethodDescriptionstatic PeriodFormatterISOPeriodFormat.alternate()The alternate ISO format, PyyyymmddThhmmss, which excludes weeks.static PeriodFormatterISOPeriodFormat.alternateExtended()The alternate ISO format, Pyyyy-mm-ddThh:mm:ss, which excludes weeks.static PeriodFormatterISOPeriodFormat.alternateExtendedWithWeeks()The alternate ISO format, Pyyyy-Www-ddThh:mm:ss, which excludes months.static PeriodFormatterISOPeriodFormat.alternateWithWeeks()The alternate ISO format, PyyyyWwwddThhmmss, which excludes months.private static PeriodFormatterPeriodFormat.buildNonRegExFormatter(ResourceBundle b, Locale locale) private static PeriodFormatterPeriodFormat.buildRegExFormatter(ResourceBundle b, Locale locale) private static PeriodFormatterPeriodFormat.buildWordBased(Locale locale) static PeriodFormatterPeriodFormat.getDefault()Gets the default formatter that outputs words in English.static PeriodFormatterISOPeriodFormat.standard()The standard ISO format - PyYmMwWdDThHmMsS.PeriodFormatterBuilder.toFormatter()Constructs a PeriodFormatter using all the appended elements.private static PeriodFormatterPeriodFormatterBuilder.toFormatter(List<Object> elementPairs, boolean notPrinter, boolean notParser) PeriodFormatter.withLocale(Locale locale) Returns a new formatter with a different locale that will be used for printing and parsing.PeriodFormatter.withParseType(PeriodType type) Returns a new formatter with a different PeriodType for parsing.static PeriodFormatterPeriodFormat.wordBased()Returns a word based formatter for the JDK default locale.static PeriodFormatterReturns a word based formatter for the specified locale.Methods in org.joda.time.format with parameters of type PeriodFormatterModifier and TypeMethodDescriptionPeriodFormatterBuilder.append(PeriodFormatter formatter) Appends another formatter.Constructors in org.joda.time.format with parameters of type PeriodFormatter