DVQuietHours class
A daily window during which interruptive channels stay quiet.
utcOffset is the recipient's, not the server's. A quiet-hours window read in the server's clock is quiet hours for the server, which is nobody.
Constructors
- DVQuietHours({required Duration from, required Duration to, Duration utcOffset = Duration.zero})
-
const
Properties
- from → Duration
-
Start of the window, as time since local midnight.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- to → Duration
-
End of the window, exclusive.
final
- utcOffset → Duration
-
final
Methods
-
covers(
DateTime instant) → bool -
Whether
instantfalls inside the window. -
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