openmrs-esm-core

O3 Framework / getDefaultCalendar

Function: getDefaultCalendar()

getDefaultCalendar(locale): CalendarIdentifier | undefined

Defined in: packages/framework/esm-utils/src/dates/date-util.ts:190

Retrieves the default calendar for the specified locale if any.

Parameters

locale

string | Locale | undefined

the locale to look-up

Returns

CalendarIdentifier | undefined