Java org.joda.time.format PeriodFormatter fields, constructors, methods, implement or subclass

Example usage for Java org.joda.time.format PeriodFormatter fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.joda.time.format PeriodFormatter.

The text is from its open source code.

Constructor

PeriodFormatter(PeriodPrinter printer, PeriodParser parser)
Creates a new formatter, however you will normally use the factory or the builder.

Method

PeriodparsePeriod(String text)
Parses a period from the given text, returning a new Period.
Stringprint(ReadablePeriod period)
Prints a ReadablePeriod to a new String.
voidprintTo(StringBuffer buf, ReadablePeriod period)
Prints a ReadablePeriod to a StringBuffer.
voidprintTo(Writer out, ReadablePeriod period)
Prints a ReadablePeriod to a Writer.
PeriodFormatterwithLocale(Locale locale)
Returns a new formatter with a different locale that will be used for printing and parsing.