@ipohjs/calendar
Version:
Minimal module to compute a calendar
16 lines • 535 B
TypeScript
import type { CalendarInitBase } from '../types.js';
export interface GetWeekdaysInit extends OmitCalendarInitBase {
longWeekdayFormat: Intl.DateTimeFormat;
narrowWeekdayFormat: Intl.DateTimeFormat;
shortWeekLabel?: string;
weekLabel?: string;
}
type OmitCalendarInitBase = Omit<CalendarInitBase, 'weekNumberTemplate'>;
export interface ToUTCDateOffset {
day?: number;
month?: number;
order?: 'dmy' | 'dym' | 'mdy' | 'myd' | 'ydm' | 'ymd';
year?: number;
}
export {};
//# sourceMappingURL=types.d.ts.map