Skip to content
Edit this page

getDayStrings Type documentation

TypeScript declaration

import { getDayStrings } from '@siemens/element-ng/datepicker';

Get local specific weekdays as string using DateTimeFormat.

Returns: array of week days.

getDayStrings(locale: string, weekStart?: WeekStart = 'monday', format?: "short" | "narrow" | "long" = 'short'): string[]

Get local specific weekdays as string using DateTimeFormat.

Returns: array of week days.

Parameters

Types Documentation

WeekStart

'monday' | 'saturday' | 'sunday' | undefined
type alias
import type { WeekStart } from '@siemens/element-ng/datepicker';


Except where otherwise noted, content on this site is licensed under MIT License.