UNPKG

@churchapps/helpers

Version:

Library of helper functions not specific to any one ChurchApps project or framework.

11 lines 550 B
import { EventInterface } from "./interfaces"; import { RRule } from "rrule"; import { ParsedOptions } from "rrule/dist/esm/types"; export declare class EventHelper { static getRange: (event: EventInterface, startDate: Date, endDate: Date) => Date[]; static getFullRRule: (event: EventInterface) => RRule; static removeExcludeDates: (events: EventInterface[]) => void; static getPartialRRuleString: (options: ParsedOptions) => string; static cleanRule: (options: ParsedOptions) => void; } //# sourceMappingURL=EventHelper.d.ts.map