Package | Description |
---|---|
org.joda.time.format |
Provides printing and parsing support for instants and durations.
|
Modifier and Type | Class and Description |
---|---|
(package private) static class |
PeriodFormatterBuilder.CompositeAffix
Builds a composite affix by merging two other affix implementations.
|
(package private) static class |
PeriodFormatterBuilder.IgnorableAffix
An affix that can be ignored.
|
(package private) static class |
PeriodFormatterBuilder.PluralAffix
Implements an affix where the text varies by the amount of the field.
|
(package private) static class |
PeriodFormatterBuilder.RegExAffix
Implements an affix where the text varies by the amount of the field.
|
(package private) static class |
PeriodFormatterBuilder.SimpleAffix
Implements an affix where the text does not vary by the amount.
|
Modifier and Type | Field and Description |
---|---|
private PeriodFormatterBuilder.PeriodFieldAffix |
PeriodFormatterBuilder.CompositeAffix.iLeft |
private PeriodFormatterBuilder.PeriodFieldAffix |
PeriodFormatterBuilder.iPrefix |
private PeriodFormatterBuilder.PeriodFieldAffix |
PeriodFormatterBuilder.FieldFormatter.iPrefix |
private PeriodFormatterBuilder.PeriodFieldAffix |
PeriodFormatterBuilder.CompositeAffix.iRight |
private PeriodFormatterBuilder.PeriodFieldAffix |
PeriodFormatterBuilder.FieldFormatter.iSuffix |
Modifier and Type | Method and Description |
---|---|
private PeriodFormatterBuilder |
PeriodFormatterBuilder.appendPrefix(PeriodFormatterBuilder.PeriodFieldAffix prefix)
Append a field prefix which applies only to the next appended field.
|
private PeriodFormatterBuilder |
PeriodFormatterBuilder.appendSuffix(PeriodFormatterBuilder.PeriodFieldAffix suffix)
Append a field suffix which applies only to the last appended field.
|
Modifier and Type | Method and Description |
---|---|
void |
PeriodFormatterBuilder.PeriodFieldAffix.finish(java.util.Set<PeriodFormatterBuilder.PeriodFieldAffix> affixesToIgnore)
This method should be called only once.
|
void |
PeriodFormatterBuilder.IgnorableAffix.finish(java.util.Set<PeriodFormatterBuilder.PeriodFieldAffix> periodFieldAffixesToIgnore) |
Constructor and Description |
---|
CompositeAffix(PeriodFormatterBuilder.PeriodFieldAffix left,
PeriodFormatterBuilder.PeriodFieldAffix right) |
FieldFormatter(int minPrintedDigits,
int printZeroSetting,
int maxParsedDigits,
boolean rejectSignedValues,
int fieldType,
PeriodFormatterBuilder.FieldFormatter[] fieldFormatters,
PeriodFormatterBuilder.PeriodFieldAffix prefix,
PeriodFormatterBuilder.PeriodFieldAffix suffix) |
FieldFormatter(PeriodFormatterBuilder.FieldFormatter field,
PeriodFormatterBuilder.PeriodFieldAffix suffix) |