CronHelper class

Cron helper to set notification repetitions Use the rule bellow to specify your on cron repetition rule or access the website https://www.baeldung.com/cron-expressions to see more details.

OBS: Do not use

Constructors

CronHelper()
FACTORY METHODS *********************************************
factory
CronHelper.private()

Properties

dateFormat String
FACTORY METHODS *********************************************
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

atDate({required DateTime referenceDateTime}) String
Generates a Cron expression to be played at only exact time
daily({required DateTime referenceDateTime}) String
Generates a Cron expression to be played only once at day from now
hourly({required DateTime referenceDateTime}) String
Generates a Cron expression to be played only once at hour from now
minutely({required int initialSecond}) String
Generates a Cron expression to be played only once at every minute from now
monthly({required DateTime referenceDateTime}) String
Generates a Cron expression to be played only once at month from now
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
weekendDay({required DateTime referenceDateTime}) String
Generates a Cron expression to be played only on weekend days from now
weekly({required DateTime referenceDateTime}) String
Generates a Cron expression to be played only once at week from now
workweekDay({required DateTime referenceDateTime}) String
Generates a Cron expression to be played only on workweek days from now
yearly({required DateTime referenceDateTime}) String
Generates a Cron expression to be played only once at year from now

Operators

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

Static Properties

instance CronHelper
final