openmrs-esm-core

O3 Framework / getDefaultCalendar

Function: getDefaultCalendar()

getDefaultCalendar(locale): undefined | CalendarIdentifier

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

Retrieves the default calendar for the specified locale if any.

Parameters

locale

the locale to look-up

undefined string Locale

Returns

undefined | CalendarIdentifier