Class DateIntervalFormat.SpanField

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static DateIntervalFormat.SpanField DATE_INTERVAL_SPAN
      The concrete field used for spans in FormattedDateInterval.
      private static long serialVersionUID  
      • Fields inherited from class java.text.AttributedCharacterIterator.Attribute

        INPUT_METHOD_SEGMENT, LANGUAGE, READING
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private SpanField​(java.lang.String name)  
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      protected java.lang.Object readResolve()
      Deprecated.
      This API is ICU internal only.
      • Methods inherited from class java.text.AttributedCharacterIterator.Attribute

        equals, getName, hashCode, toString
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • 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.
    • Constructor Detail

      • SpanField

        private SpanField​(java.lang.String name)
    • Method Detail

      • readResolve

        @Deprecated
        protected java.lang.Object readResolve()
                                        throws java.io.InvalidObjectException
        Deprecated.
        This API is ICU internal only.
        serialization method resolve instances to the constant DateIntervalFormat.SpanField values
        Overrides:
        readResolve in class java.text.AttributedCharacterIterator.Attribute
        Throws:
        java.io.InvalidObjectException