get interval of validity from a TimeSpanMap
TimeSpanMap allows to store objects that are valid only for a certain time range, and replaced by others when
their validity ends. They are used for example to store propagation states before and after maneuvers, or
attitude modes during attitude sequences changes, or satellite code to PRN number mapping in GNSS constellations.
It is easy to retrieve the object valid at any specified time using the
get(AbsoluteDate) method. Is is however
cumbersome to know the interval of validity of this object. Users have to retrieve the full set of transitions using
getTransitions() and explore it.
It would be nice to have a
getValidity(AbsoluteDate) method to retrieve the interval to which the provided date belongs.