UNPKG

@trimble-oss/moduswebcomponents

Version:

Modus Web Components is a modern, accessible UI library built with Stencil JS that provides reusable web components following Trimble's Modus design system. This updated version focuses on improved flexibility, enhanced theming options, comprehensive cust

19 lines (18 loc) 654 B
export default class DatePickerCalendar { private currentDate; private currentMonthDates; private firstDayOfWeek; constructor(firstDayOfWeek?: number); get selectedYear(): number; get selectedMonth(): number; get dates(): Array<Date>; addMonthOffset(offset: number): DatePickerCalendar; gotoDate(year: number, month: number): void; getDaysOfWeek(locale: string, firstDayOfWeek?: number): string[]; /** * Get ISO week number for a given date * ISO 8601: Week 1 is the week with the year's first Thursday */ getWeekNumber(date: Date, weekStart?: number): string; private calculateDates; }