EveryWeek mixin

Processes DateTime with custom logic.

WARNING:

Only mix in your class this if your are not mixing EveryMonth or EveryYear in your class.

Mixin all three will result in strange behavior. The last one mixed will override the next and previous methods.

Try to only implement the two that are not the main focus of your Every class.

Implemented types
Mixin applications

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addWeeks(DateTime date, int weeks) DateTime
This mixin's implementation of Every.next and Every.previous.
next(DateTime date) DateTime
Returns the next week of the given date considering this EveryWeek implementation.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
previous(DateTime date) DateTime
Returns the previous week of the given date considering this EveryWeek implementation.
override
startDate(DateTime date) DateTime
Returns the next DateTime that matches the Every pattern.
inherited
toString() String
A string representation of this object.
inherited

Operators

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