|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.joda.time.format.PeriodFormat
Factory that creates instances of PeriodFormatter.
Period formatting is performed by the PeriodFormatter
class.
Three classes provide factory methods to create formatters, and this is one.
The others are ISOPeriodFormat
and PeriodFormatterBuilder
.
PeriodFormat is thread-safe and immutable, and the formatters it returns are as well.
ISOPeriodFormat
,
PeriodFormatterBuilder
Constructor Summary | |
protected |
PeriodFormat()
Constructor. |
Method Summary | |
static PeriodFormatter |
getDefault()
Gets the default PeriodFormatter. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected PeriodFormat()
Method Detail |
public static PeriodFormatter getDefault()
This currently returns a word based formatter using English only. Hopefully future release will support localized period formatting.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |