UNPKG

aws-cron-parser

Version:

A util to parse cron expressions used by AWS services

9 lines (8 loc) 355 B
import { ParsedCron } from './parse'; /** * generate the next occurrence BEFORE the "from" date value * returns NULL when there is no more future occurrence * @param {*} parsed the value returned by "parse" function of this module * @param {*} from the Date to start from */ export declare function prev(parsed: ParsedCron, from: Date): Date | null;