abstract static class PeriodFormatterBuilder.IgnorableAffix extends java.lang.Object implements PeriodFormatterBuilder.PeriodFieldAffix
| Modifier and Type | Field and Description |
|---|---|
private java.lang.String[] |
iOtherAffixes |
| Constructor and Description |
|---|
IgnorableAffix() |
| Modifier and Type | Method and Description |
|---|---|
void |
finish(java.util.Set<PeriodFormatterBuilder.PeriodFieldAffix> periodFieldAffixesToIgnore)
This method should be called only once.
|
protected boolean |
matchesOtherAffix(int textLength,
java.lang.String periodStr,
int position)
Checks if there is a match among the other affixes (stored internally)
that is longer than the passed value (textLength).
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcalculatePrintedLength, getAffixes, parse, printTo, printTo, scanpublic void finish(java.util.Set<PeriodFormatterBuilder.PeriodFieldAffix> periodFieldAffixesToIgnore)
PeriodFormatterBuilder.PeriodFieldAffixfinish in interface PeriodFormatterBuilder.PeriodFieldAffixprotected boolean matchesOtherAffix(int textLength,
java.lang.String periodStr,
int position)
textLength - the length of the matchperiodStr - the Period string that will be parsedposition - the position in the Period string at which the parsing should be started.