Class DontCareFieldPosition

java.lang.Object
java.text.FieldPosition
com.ibm.icu.impl.DontCareFieldPosition

public final class DontCareFieldPosition extends FieldPosition
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 Details

  • Constructor Details

    • DontCareFieldPosition

      private DontCareFieldPosition()
  • Method Details