Interface MutableDateTokenSequence

All Superinterfaces:
DateTokenSequence, MutableScalarTokenSequence, MutableTokenSequence, ScalarTokenAppendable, ScalarTokenSequence, ScalarTyped, TokenAppendable, TokenSequence, TokenTyped
All Known Implementing Classes:
DateTokenList, SparseDateTokenList

public interface MutableDateTokenSequence extends DateTokenSequence, MutableScalarTokenSequence
A MutableTokenSequence containing date valued data.
See Also:
  • TokenTypeConstant#DATE
  • Method Details

    • append

      @Deprecated void append(Date value)
      Deprecated.
      since 6.1; use append(CalendarDate) instead.
      Appends the specified date to this sequence.
      Parameters:
      value - the value to append.
    • appendEpochDays

      void appendEpochDays(long epochDays)
      Appends the date specified as days elapsed since January 1, 1970 00:00:00 GMT to this sequence.
      Parameters:
      epochDays - the value to append.
    • append

      void append(CalendarDate value)
      Appends the specified calendar date to this sequence.
      Parameters:
      value - the value to append.
    • append

      @Deprecated void append(Date value, int count)
      Deprecated.
      since 6.1; use append(CalendarDate, int) instead
      Appends the specified date to this sequence.
      Parameters:
      value - the value to append.
      count - the number of copies to append.
    • appendEpochDays

      void appendEpochDays(long epochDays, int count)
      Appends the date specified as days elapsed since January 1, 1970 00:00:00 GMT to this sequence multiple times.
      Parameters:
      epochDays - the value to append.
      count - the number of copies to append.
    • append

      void append(CalendarDate value, int count)
      Appends the specified calendar date to this sequence.
      Parameters:
      value - the value to append.
      count - the number of copies to append.
    • setEpochDays

      void setEpochDays(int index, long value)
      Sets the token at the specified position to the given value.
      Parameters:
      index - the position to modify
      value - the new value
    • getTokenSetter

      DateSettable getTokenSetter(int index)
      Description copied from interface: MutableTokenSequence
      Returns a mutator for the given index.
      Specified by:
      getTokenSetter in interface MutableScalarTokenSequence
      Specified by:
      getTokenSetter in interface MutableTokenSequence
      Parameters:
      index - the position
      Returns:
      a mutator for the given index.