Package org.orekit.utils
Class TimeSpanMap.Span<S>
- java.lang.Object
-
- org.orekit.utils.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 whereasTimeSpanMap.Transitionis focused on one transition date, and gives access to surrounding valid data.- Since:
- 9.3
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SgetData()Get the data valid during this time span.AbsoluteDategetEnd()Get the end of this time span.AbsoluteDategetStart()Get the start of this time span.
-
-
-
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
-
-