@churchapps/apphelper
Version:
Library of helper functions for React and NextJS ChurchApps
11 lines • 557 B
TypeScript
import { EventInterface } from "@churchapps/helpers";
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