EveryWrapper<T extends Every> class abstract

Abstract class that, when extended, processes DateTime with custom logic.

Inheritance
Implementers
Annotations
  • @SubtypeNaming(containing: 'Wrapper', packageOption: PackageOption.private)

Constructors

EveryWrapper({required T every})
Abstract class that, when extended, processes DateTime with custom logic.
const
EveryWrapper.limitedSkipCount({required T every, required int count})
Class that wraps an Every generator and skips count times from the Every base process.
const
factory
EveryWrapper.limitedTimeOfDay({required T every, required EveryDueTimeOfDay everyTimeOfDay})
Class that wraps an Every and modifies its behavior so that all processed DateTimes have the same time of day as specified by everyTimeOfDay.
const
factory
EveryWrapper.skipCount({required T every, required int count})
Class that wraps an Every generator and skips count times from the Every base process.
const
factory
EveryWrapper.timeOfDay({required T every, required EveryDueTimeOfDay everyTimeOfDay})
Class that wraps an Every and modifies its behavior so that all processed DateTimes have the same time of day as specified by everyTimeOfDay.
const
factory

Properties

every → T
The base generator for this EveryWrapper.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

next(DateTime date) DateTime
Returns the next instance of the given date considering this Every base process.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
previous(DateTime date) DateTime
Returns the previous instance of the given date considering this Every base process.
inherited
processDate(DateTime date, DateDirection direction) DateTime
A method that processes date with custom logic.
toString() String
A string representation of this object.
inherited

Operators

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