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"
#> [1] "AUSY" "AUME"