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:
java.io.Serializable
- Enclosing class:
- DateIntervalFormat
public static final class DateIntervalFormat.SpanField extends UFormat.SpanField
Class for span fields in FormattedDateInterval.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static DateIntervalFormat.SpanField
DATE_INTERVAL_SPAN
The concrete field used for spans in FormattedDateInterval.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.Object
readResolve()
serizalization method resolve instances to the constant DateIntervalFormat.SpanField values
-
-
-
Field Detail
-
DATE_INTERVAL_SPAN
public static final DateIntervalFormat.SpanField 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 Detail
-
readResolve
protected java.lang.Object readResolve() throws java.io.InvalidObjectException
serizalization method resolve instances to the constant DateIntervalFormat.SpanField values- Overrides:
readResolve
in classjava.text.AttributedCharacterIterator.Attribute
- Throws:
java.io.InvalidObjectException
-
-