DateTimeRange class
A range of dates and times that is used by the EventFilter
and EntityFilter
objects. If from
is set and to
is set: match items
where the timestamp (startTime
, endTime
, or
lastUpdatedTime
) is between from
and
to
inclusive. If from
is set and to
is not set: match items where the timestamp value is equal to or after
from
. If from
is not set and to
is
set: match items where the timestamp value is equal to or before
to
.
Constructors
- DateTimeRange({DateTime? from, DateTime? to})
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited