UNPKG

queuex-sdk

Version:

A TypeScript-based queue management SDK with Redis support

19 lines (18 loc) 482 B
export declare class CronParser { private fields; constructor(expression: string); /** * * @param expression cron expression * @returns cron fields * @throws Error if the expression is invalid * * @example * * * * * * (seconds, minutes, hours, day of month, month, day of week) * @example 0 0 0 * * * (midnight every day) * * */ private parseExpression; private parseField; next(from?: Date): Date; }