TimezoneRange class

Represents a time range with timezone awareness.

Constructors

TimezoneRange({required Hora start, required Hora end, required HoraTimezone timezone})
const

Properties

duration Duration
Gets the duration of this range.
no setter
end Hora
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
start Hora
final
timezone HoraTimezone
final

Methods

contains(Hora time) bool
Checks if a time falls within this range.
inTimezone(HoraTimezone tz) TimezoneRange
Converts this range to a different timezone.
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.
inherited