getCalendar method
The name of the calendar this date belongs to (e.g. 'gregorian').
Implementation
@override
// Explicit type/calendar wins; otherwise derive from locale, then 'gregorian'.
String getCalendar() =>
type ??
calendar ??
(locale != null ? ILibLocaleInfo(locale).getCalendar() : null) ??
'gregorian';