Extract locale from calendars

locale(x)

Arguments

x

an instance of a Calendar or JointCalendar object

Value

a string representing the locale (e.g. "AUSY")

See also

Other calendar methods: adjust, generate_schedule, is_good, is_valid_bdc, is, shift, tz

Examples

locale(AUSYCalendar())
#> [1] "AUSY"
locale(c(AUSYCalendar(), AUMECalendar()))
#> [1] "AUSY" "AUME"