Learn R Programming

fmdates (version 0.1.4)

tz: Extract time zone from calendars

Description

Extract time zone from calendars

Usage

# S3 method for Calendar
tz(x)

# S3 method for JointCalendar tz(x)

Arguments

x

an instance of a Calendar or JointCalendar object

Value

a string representing the time zone (e.g. "Australia/Sydney") or vector of time zones in the case of joint calendars

See Also

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

Examples

Run this code
# NOT RUN {
lubridate::tz(AUSYCalendar())
lubridate::tz(c(AUSYCalendar(), AUMECalendar()))
# }

Run the code above in your browser using DataLab