@microsoft/fast-foundation > DateFormatter > getWeekdays
DateFormatter.getWeekdays() method
Signature:getWeekdays(format?: WeekdayFormat, locale?: string): string[];
Parameters
Parameter | Type | Description |
---|---|---|
format | WeekdayFormat | The formatting for the weekdays |
locale | string | The locale data used for formatting |
string[]
- An array of the weekday labels