public final class TimeExtent extends Object
Represents a span of time between a start time and end time. A time extent which represents an instant in time has the start time and end time set to the same value. TimeExtent is returned in the meta-data for time-aware services and layers. It is often used to create a time slider ranging from a start time to an end time. Start and end times of the time extent can be made unbounded by using
for the start and end times e.g.
TimeExtent t = new TimeExtent(MIN_CALENDAR, end) would create a
time extent with unbounded start and an end time specified by
(Calendar timeInstant)Creates a time extent with a time instant.
timeInstant- the time instant is both the start and end time of the extent
IllegalArgumentException- if timeInstant is null
TimeExtentCreates a time extent with the given start and end times.