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, wait
calculatePrintedLength, getAffixes, parse, printTo, printTo, scan
public void finish(java.util.Set<PeriodFormatterBuilder.PeriodFieldAffix> periodFieldAffixesToIgnore)
PeriodFormatterBuilder.PeriodFieldAffix
finish
in interface PeriodFormatterBuilder.PeriodFieldAffix
protected 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.