S - Type of the data.public static class TimeSpanMap.Span<S> extends Object
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.
| Modifier and Type | Method and Description |
|---|---|
S |
getData()
Get the data valid during this time span.
|
AbsoluteDate |
getEnd()
Get the end of this time span.
|
TimeSpanMap.Transition<S> |
getEndTransition()
Get the transition at end of this time span.
|
AbsoluteDate |
getStart()
Get the start of this time span.
|
TimeSpanMap.Transition<S> |
getStartTransition()
Get the transition at start of this time span.
|
TimeSpanMap.Span<S> |
next()
Get the next time span.
|
TimeSpanMap.Span<S> |
previous()
Get the previous time span.
|
public S getData()
public TimeSpanMap.Span<S> previous()
public TimeSpanMap.Span<S> next()
public AbsoluteDate getStart()
AbsoluteDate.PAST_INFINITY
if getStartTransition() returns null)getStartTransition()public TimeSpanMap.Transition<S> getStartTransition()
getStart()public AbsoluteDate getEnd()
AbsoluteDate.FUTURE_INFINITY
if getEndTransition() returns null)getEndTransition()public TimeSpanMap.Transition<S> getEndTransition()
getEnd()Copyright © 2002-2022 CS GROUP. All rights reserved.