Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

12 lines
632 B

export declare function isDate(value: any): boolean;
export declare function toDate(value: any): Date;
export declare function isValidDate(value: any): boolean;
export declare function startOfWeek(value: Date, firstDayOfWeek?: number): Date;
export declare function startOfWeekYear(value: Date, { firstDayOfWeek, firstWeekContainsDate }?: {
firstDayOfWeek?: number | undefined;
firstWeekContainsDate?: number | undefined;
}): Date;
export declare function getWeek(value: Date, { firstDayOfWeek, firstWeekContainsDate }?: {
firstDayOfWeek?: number | undefined;
firstWeekContainsDate?: number | undefined;
}): number;