TimeExtent class final
Represents a span of time between a start time and end time.
To create a time extent which represents an instant in time set the start time and end time to the same time value. The 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.
- Implemented types
Constructors
- TimeExtent({required DateTime? startTime, required DateTime? endTime})
-
Creates a time extent with the given start and end times.
factory
- TimeExtent.withTimeInstant(DateTime? timeInstant)
-
Creates a time extent with a time instant.
factory
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited