UNPKG

525 BTypeScriptView Raw
1import type { Locale } from "../lib/dateLib.js";
2import type { DateLib } from "../types/index.js";
3/**
4 * Generate a series of 7 days, starting from the week, to use for formatting
5 * the weekday names (Monday, Tuesday, etc.).
6 */
7export declare function getWeekdays(locale?: Locale | undefined,
8/** The index of the first day of the week (0 - Sunday). */
9weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6 | undefined,
10/** Use ISOWeek instead of locale/ */
11ISOWeek?: boolean | undefined,
12/** @ignore */
13dateLib?: DateLib): Date[];