DVMeterPeriod class

A half-open span of time: start is inside it, end is the next one's start. Half-open so that a record on the boundary belongs to exactly one.

Constructors

DVMeterPeriod(DateTime start, DateTime end)
const
DVMeterPeriod.calendarMonth(DateTime at)
The calendar month containing at, in UTC.
factory

Properties

end → DateTime
final
hashCode → int
The hash code for this object.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
start → DateTime
final

Methods

contains(DateTime at) → bool
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