UNPKG

jwf-year-calendar

Version:

A full react version of Paul-DS' js-year-calendar, https://github.com/year-calendar/js-year-calendar. Built with support from JWF Process Solutions Ltd.

11 lines (10 loc) 684 B
import { CalendarDate, SanitizedDataSource } from './types'; export declare const isAfter: (test: CalendarDate | null, reference: CalendarDate | null) => boolean; export declare const isBefore: (test: CalendarDate | null, reference: CalendarDate | null) => boolean; export declare const isEqual: (test: CalendarDate | null, reference: CalendarDate | null) => boolean; export declare const isBetweenDates: (test: CalendarDate, start: CalendarDate | null, end: CalendarDate | null) => boolean; export declare const relevantEvents: (date: { day: number; month: number; year: number; }, events: SanitizedDataSource | undefined) => import("./types").SanitizedDataSourceItem[];