public class PeriodFormat
extends java.lang.Object
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| Modifier | Constructor and Description |
|---|---|
protected |
PeriodFormat()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static PeriodFormatter |
getDefault()
Gets the default PeriodFormatter.
|
protected PeriodFormat()
public static PeriodFormatter getDefault()
This currently returns a word based formatter using English only. Hopefully future release will support localized period formatting.
Copyright (c) 2001-2006 - Joda.org