UNPKG

react-calendar-full

Version:

A full-featured React calendar component with event scheduling and monthly, weekly, and daily views.

19 lines (18 loc) 750 B
export declare const daysOfWeek: string[]; export declare const daysOfWeekShort: string[]; export declare const monthsOfYear: string[]; export type DateInfo = { dayOfWeek: string; month: string; startOfWeek: Date; endOfWeek: Date; dayOfMonth: number; year: number; }; export declare function getDateInfo(inputDate: Date): DateInfo; export declare function moveDate(date: Date, amount: number): Date; export declare function moveMonth(date: Date, amount: number): Date; export declare function startOfWeek(date: Date): Date; export declare function datesOfWeek(date: Date): Array<Date>; export declare function areDatesEqual(date1: Date, date2: Date): boolean; export declare function formatDateToYYYYMMDD(date: Date): string;