Package com.ibm.icu.text
Class DateIntervalFormat.SpanField
java.lang.Object
java.text.AttributedCharacterIterator.Attribute
java.text.Format.Field
com.ibm.icu.text.UFormat.SpanField
com.ibm.icu.text.DateIntervalFormat.SpanField
- All Implemented Interfaces:
Serializable
- Enclosing class:
DateIntervalFormat
Class for span fields in FormattedDateInterval.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final DateIntervalFormat.SpanField
The concrete field used for spans in FormattedDateInterval.Fields inherited from class java.text.AttributedCharacterIterator.Attribute
INPUT_METHOD_SEGMENT, LANGUAGE, READING
-
Method Summary
Methods inherited from class java.text.AttributedCharacterIterator.Attribute
equals, getName, hashCode, toString
-
Field Details
-
DATE_INTERVAL_SPAN
The concrete field used for spans in FormattedDateInterval. Instances of DATE_INTERVAL_SPAN should have an associated value. If 0, the date fields within the span are for the "from" date; if 1, the date fields within the span are for the "to" date.
-
-
Method Details
-
readResolve
Deprecated.This API is ICU internal only.serialization method resolve instances to the constant DateIntervalFormat.SpanField values- Overrides:
readResolve
in classAttributedCharacterIterator.Attribute
- Throws:
InvalidObjectException
-