public class PeriodFormat extends 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.
|
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 © 2012 JBoss by Red Hat. All Rights Reserved.