Uses of Class
org.joda.time.format.PeriodFormatter
-
Packages that use PeriodFormatter Package Description org.joda.time Provides support for dates, times, time zones, durations, intervals, and partials.org.joda.time.base Implementation package providing abstract and base time classes.org.joda.time.format Provides printing and parsing support for instants and durations. -
-
Uses of PeriodFormatter in org.joda.time
Methods in org.joda.time with parameters of type PeriodFormatter Modifier and Type Method Description static MutablePeriodMutablePeriod. parse(java.lang.String str, PeriodFormatter formatter)Parses aMutablePeriodfrom the specified string using a formatter.static PeriodPeriod. parse(java.lang.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 PeriodFormatter Modifier and Type Method Description java.lang.StringAbstractPeriod. toString(PeriodFormatter formatter)Uses the specified formatter to convert this period to a String. -
Uses of PeriodFormatter in org.joda.time.format
Methods in org.joda.time.format that return PeriodFormatter Modifier and Type Method Description static 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.static PeriodFormatterPeriodFormat. getDefault()Gets the default formatter that outputs words in English.static PeriodFormatterISOPeriodFormat. standard()The standard ISO format - PyYmMwWdDThHmMsS.PeriodFormatterPeriodFormatterBuilder. toFormatter()Constructs a PeriodFormatter using all the appended elements.PeriodFormatterPeriodFormatter. withLocale(java.util.Locale locale)Returns a new formatter with a different locale that will be used for printing and parsing.PeriodFormatterPeriodFormatter. 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 PeriodFormatterPeriodFormat. wordBased(java.util.Locale locale)Returns a word based formatter for the specified locale.Methods in org.joda.time.format with parameters of type PeriodFormatter Modifier and Type Method Description PeriodFormatterBuilderPeriodFormatterBuilder. append(PeriodFormatter formatter)Appends another formatter.
-