@rschedule/rschedule
Version:
A typescript library for working with recurring dates and events.
20 lines • 880 B
TypeScript
import { DateTime } from '../../date-time';
import { IFrequencyRuleOptions } from './01-frequency.pipe';
import { IPipeRule, IPipeRunFn, PipeRule } from './interfaces';
/**
* The `RevFrequencyPipe` is the first pipe in the chain of rule pipes. It is
* responsible for incrementing the date, as appropriate, while taking into
* account the `RRULE` frequency and interval.
*/
export declare class RevFrequencyPipe extends PipeRule<IFrequencyRuleOptions> implements IPipeRule<IFrequencyRuleOptions> {
private readonly intervalUnit;
private intervalEndDate;
private intervalStartDate;
run(args: IPipeRunFn): DateTime | null;
private normalizedEndDate;
private normalizedStartDate;
private decrementInterval;
private skipToIntervalOnOrBefore;
private dateIsWithinInterval;
}
//# sourceMappingURL=rev-01-frequency.pipe.d.ts.map