uno-js
Version:
JS/TS common used functions, zero dependencies
8 lines (7 loc) • 485 B
TypeScript
export declare const getDateUtc: (date: string) => string;
export declare const getWeekDaysRange: (week: number, year?: number) => string;
export declare const compareRealDates: (a: Date, b: Date) => 1 | 0 | -1;
export declare const compareDates: (a: string, b: string) => 1 | 0 | -1;
export declare const toLocalTime: (date: string | Date) => Date;
export declare const isDate: (value: unknown) => boolean;
export declare const getPreviousQuarter: (currentQuarter: string) => string;