Package com.ibm.icu.impl
Class DontCareFieldPosition
java.lang.Object
java.text.FieldPosition
com.ibm.icu.impl.DontCareFieldPosition
DontCareFieldPosition is a subclass of FieldPosition that indicates that the
caller is not interested in the start and end position of any field.
DontCareFieldPosition is a singleton, and its instance is immutable.
A format
method use fpos == DontCareFieldPosition.INSTANCE
to tell whether or not it needs to calculate a field position.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.text.FieldPosition
equals, getBeginIndex, getEndIndex, getField, getFieldAttribute, hashCode, toString
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
DontCareFieldPosition
private DontCareFieldPosition()
-
-
Method Details
-
setBeginIndex
public void setBeginIndex(int i) - Overrides:
setBeginIndex
in classFieldPosition
-
setEndIndex
public void setEndIndex(int i) - Overrides:
setEndIndex
in classFieldPosition
-