Package index
Types
Temporal’s eight types, each built by the function named after it from fields, strings or other values. Each topic lists every member of the type and the R function that implements it.
-
instant()instant_from_epoch_milliseconds()instant_from_epoch_nanoseconds()instant_compare() - Exact times: Temporal's Instant
-
zoned_date_time()zoned_date_time_compare() - Exact times in a time zone: Temporal's ZonedDateTime
-
plain_date_time()plain_date_time_compare() - Calendar dates with clock times: Temporal's PlainDateTime
-
plain_date()plain_date_compare() - Calendar dates: Temporal's PlainDate
-
plain_time()plain_time_compare() - Clock times: Temporal's PlainTime
-
plain_year_month()plain_year_month_compare() - Months: Temporal's PlainYearMonth
-
plain_month_day() - Days of the year: Temporal's PlainMonthDay
-
duration()duration_compare() - Durations: Temporal's Duration
-
calendar_id()era()era_year()year()month()month_code()day()day_of_week()day_of_year()week_of_year()year_of_week()days_in_week()days_in_month()days_in_year()months_in_year()in_leap_year()hour()minute()second()millisecond()microsecond()nanosecond()years()months()weeks()days()hours()minutes()seconds()milliseconds()microseconds()nanoseconds()blank()Math(<zutempo_duration>)epoch_milliseconds()epoch_nanoseconds()offset_nanoseconds()offset()time_zone_id()hours_in_day() - Fields of a Temporal value
-
temporal_add()temporal_subtract() - Add a duration to, or subtract one from, a Temporal value
-
temporal_until()temporal_since() - Difference between two Temporal values
-
temporal_round() - Round a Temporal value
-
temporal_total() - Total a duration in one unit
-
temporal_with()temporal_with_plain_time()temporal_with_calendar()temporal_with_time_zone() - Replace fields of a Temporal value
-
temporal_equals() - Compare Temporal values
-
temporal_negated()temporal_abs() - Negate or take the magnitude of a duration
-
temporal_start_of_day() - The start of a day in a time zone
-
temporal_get_time_zone_transition() - Time zone transitions
-
temporal_to_instant()temporal_to_zoned_date_time_iso()temporal_to_zoned_date_time() - Convert to and from zoned values
-
temporal_to_plain_date()temporal_to_plain_time()temporal_to_plain_date_time()temporal_to_plain_year_month()temporal_to_plain_month_day() - Convert between the plain types
-
temporal_to_string() - Format a Temporal value as an ISO 8601 string
-
now_time_zone_id()now_zoned_date_time_iso()now_plain_date_time_iso()now_plain_date_iso()now_plain_time_iso() - The current time in a time zone
-
now_instant() - The current time
-
as.Date(<zutempo_plain_date>)as.Date(<zutempo_plain_date_time>)as.Date(<zutempo_zoned_date_time>)as.Date(<zutempo_instant>)as.POSIXct(<zutempo_instant>)as.POSIXct(<zutempo_zoned_date_time>)as.POSIXct(<zutempo_plain_date_time>)as.POSIXlt(<zutempo_zoned_date_time>)as.POSIXlt(<zutempo_instant>)as.POSIXlt(<zutempo_plain_date_time>)temporal_to_difftime() - Convert Temporal values to base R dates and times
-
zutempo_parse() - Read strings as a Temporal type, with
NAfor those that fail -
zutempo_parse_errors() - The strings
zutempo_parse()could not read
-
zutempo_options - Options shared by zutempo's functions
-
zutempozutempo-package - zutempo: Dates, Times and Durations Following 'JavaScript' Temporal
-
zutempo_info() - What zutempo was built against
-
zutempo_tz_reset() - Forget the parsed time zones