Class TimeSpanMap.Span<S>

  • Type Parameters:
    S - Type of the data.
    Enclosing class:
    TimeSpanMap<T>

    public static class TimeSpanMap.Span<S>
    extends Object
    Holder for one time span.

    This data type is dual to TimeSpanMap.Transition, it is focused on one valid data, and gives access to surrounding transition dates whereas TimeSpanMap.Transition is focused on one transition date, and gives access to surrounding valid data.

    Since:
    9.3
    • Method Detail

      • getData

        public S getData()
        Get the data valid during this time span.
        Returns:
        data valid during this time span
      • getStart

        public AbsoluteDate getStart()
        Get the start of this time span.
        Returns:
        start of this time span
      • getEnd

        public AbsoluteDate getEnd()
        Get the end of this time span.
        Returns:
        end of this time span