TemporalExtent class

An extent with 1 to N intervals in defined temporal coordinate reference system.

Annotations
  • @immutable

Constructors

TemporalExtent.multi(Iterable<Interval> intervals, {TemporalRefSys trs = TemporalRefSys.gregorian})
A temporal extent of intervals (temporal coordinate reference system in trs).
TemporalExtent.single(Interval interval, {TemporalRefSys trs = TemporalRefSys.gregorian})
A temporal extent of one interval (temporal coordinate reference system in trs).
const

Properties

first Interval
The first interval for this extent.
no setter
hashCode int
The hash code for this object.
no setteroverride
intervals Iterable<Interval>
All intervals for this extent.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
trs TemporalRefSys
The temporal coordinate reference system for intervals of this extent.
no setter

Methods

copyWith({Interval? interval, TemporalRefSys? trs}) TemporalExtent
Copy this temporal extent with optional interval and/or trs parameters changed.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override