Creates a new CronExpression instance.
Cron fields.
Parser options.
Returns an iterator for iterating through future CronDate instances
An iterator object for CronExpression that returns CronDate values.
Find the next scheduled date based on the cron expression.
Find the previous scheduled date based on the cron expression.
Reset the iterators current date to a new date or the initial date.
Optional
newDate: CronDate | DateOptional new date to reset to. If not provided, it will reset to the initial date.
Iterate over a specified number of steps and optionally execute a callback function for each step.
Returns the string representation of the cron expression.
Static
fieldsConverts cron fields back to a CronExpression instance.
The input cron fields object.
Optional
options: CronExpressionOptionsOptional parsing options.
Class representing a Cron expression.