Package: datetimeoffset 0.4.0-2

datetimeoffset: Datetimes with Optional UTC Offsets and/or Heterogeneous Time Zones

Supports import/export for a number of datetime string standards and R datetime classes often including lossless re-export of any original reduced precision including 'ISO 8601' <https://en.wikipedia.org/wiki/ISO_8601> and 'pdfmark' <https://opensource.adobe.com/dc-acrobat-sdk-docs/library/pdfmark/> datetime strings. Supports local/global datetimes with optional UTC offsets and/or (possibly heterogeneous) time zones with up to nanosecond precision.

Authors:Trevor L Davis [aut, cre]

datetimeoffset_0.4.0-2.tar.gz
datetimeoffset_0.4.0-2.zip(r-4.5)datetimeoffset_0.4.0-2.zip(r-4.4)datetimeoffset_0.4.0-2.zip(r-4.3)
datetimeoffset_0.4.0-2.tgz(r-4.4-any)datetimeoffset_0.4.0-2.tgz(r-4.3-any)
datetimeoffset_0.4.0-2.tar.gz(r-4.5-noble)datetimeoffset_0.4.0-2.tar.gz(r-4.4-noble)
datetimeoffset_0.4.0-2.tgz(r-4.4-emscripten)datetimeoffset_0.4.0-2.tgz(r-4.3-emscripten)
datetimeoffset.pdf |datetimeoffset.html
datetimeoffset/json (API)
NEWS

# Install 'datetimeoffset' in R:
install.packages('datetimeoffset', repos = c('https://trevorld.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/trevorld/r-datetimeoffset/issues

On CRAN:

4.95 score 6 stars 1 packages 1 scripts 329 downloads 32 exports 10 dependencies

Last updated 1 years agofrom:8f45a55f78. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 15 2024
R-4.5-winOKNov 15 2024
R-4.5-linuxOKNov 15 2024
R-4.4-winOKNov 15 2024
R-4.4-macOKNov 15 2024
R-4.3-winOKNov 15 2024
R-4.3-macOKNov 15 2024

Exports:as_datetimeoffsetdatetime_at_tzdatetime_castdatetime_narrowdatetime_precisiondatetime_widendatetimeoffsetdatetimeoffset_nowfill_tzfill_utc_offsetsformat_edtfformat_exiftoolformat_iso8601format_nanotimeformat_pdfmarkformat_strftimeget_hour_offsetget_minute_offsetget_subsecondget_subsecond_digitsget_tzget_utc_offsetsis_datetimeoffsetmode_tzNA_datetimeoffset_precision_to_intset_hour_offsetset_minute_offsetset_subsecondset_subsecond_digitsset_tzset_utc_offsets

Dependencies:cliclockcpp11gluelifecyclemagrittrpurrrrlangtzdbvctrs

Introduction to datetimeoffset

Rendered fromdatetimeoffset.Rmdusingknitr::rmarkdownon Nov 15 2024.

Last update: 2023-05-11
Started: 2022-12-22

Readme and manuals

Help Manual

Help pageTopics
Coerce to "datetimeoffset" objectsas_datetimeoffset as_datetimeoffset.character as_datetimeoffset.clock_iso_year_week_day as_datetimeoffset.clock_naive_time as_datetimeoffset.clock_sys_time as_datetimeoffset.clock_year_day as_datetimeoffset.clock_year_month_day as_datetimeoffset.clock_year_month_weekday as_datetimeoffset.clock_year_quarter_day as_datetimeoffset.clock_zoned_time as_datetimeoffset.Date as_datetimeoffset.datetimeoffset as_datetimeoffset.default as_datetimeoffset.integer as_datetimeoffset.nanotime as_datetimeoffset.numeric as_datetimeoffset.partial_time as_datetimeoffset.POSIXt
Change time zones while preserving UTC timedatetime_at_tz datetime_at_tz.clock_zoned_time datetime_at_tz.datetimeoffset datetime_at_tz.default datetime_at_tz.POSIXt
Widen/narrow datetime precisiondatetime_cast datetime_cast.default datetime_narrow datetime_narrow.clock_calendar datetime_narrow.clock_time_point datetime_narrow.datetimeoffset datetime_narrow.POSIXt datetime_widen datetime_widen.clock_calendar datetime_widen.clock_time_point datetime_widen.datetimeoffset datetime_widen.POSIXt
Datetime precisiondatetime_precision datetime_precision.clock_calendar datetime_precision.clock_time_point datetime_precision.clock_zoned_time datetime_precision.datetimeoffset datetime_precision.nanotime precision_to_int
Datetime object with optional UTC offsets and/or timezonesdatetimeoffset
Various "datetimeoffset" object utilitiesdatetimeoffset_now datetimeoffset_utilities is_datetimeoffset NA_datetimeoffset_
Invalid datetimeoffset datetimesdatetimeoffset-invalid invalid_any.datetimeoffset invalid_count.datetimeoffset invalid_detect.datetimeoffset invalid_remove.datetimeoffset invalid_resolve.datetimeoffset
Fill in missing time zones and/or UTC offsetsfill_tz fill_utc_offsets
Convert datetime objects to characterformat format.datetimeoffset format_edtf format_exiftool format_iso8601 format_nanotime format_pdfmark format_strftime
Convert to other datetime objectsas.Date.datetimeoffset as.POSIXct.datetimeoffset as.POSIXlt.datetimeoffset as_date.datetimeoffset as_date_time.datetimeoffset as_iso_year_week_day.datetimeoffset as_naive_time.datetimeoffset as_sys_time.datetimeoffset as_weekday.datetimeoffset as_year_day.datetimeoffset as_year_month_day.datetimeoffset as_year_month_weekday.datetimeoffset as_year_quarter_day.datetimeoffset as_zoned_time.datetimeoffset from_datetimeoffset
Get/set UTC offset stringsgetset_utc_offsets get_utc_offsets set_utc_offsets
Get datetime componentsgetters get_day.datetimeoffset get_hour.datetimeoffset get_hour_offset get_hour_offset.datetimeoffset get_hour_offset.default get_hour_offset.POSIXt get_minute.datetimeoffset get_minute_offset get_minute_offset.datetimeoffset get_minute_offset.default get_minute_offset.POSIXt get_month.datetimeoffset get_nanosecond.datetimeoffset get_second.datetimeoffset get_subsecond_digits get_subsecond_digits.datetimeoffset get_subsecond_digits.default get_tz get_tz.clock_zoned_time get_tz.datetimeoffset get_tz.default get_tz.POSIXt get_year.datetimeoffset
Get most common time zonemode_tz mode_tz.datetimeoffset mode_tz.default
Set datetime componentssetters set_day.datetimeoffset set_hour.datetimeoffset set_hour_offset set_hour_offset.datetimeoffset set_minute.datetimeoffset set_minute_offset set_minute_offset.datetimeoffset set_month.datetimeoffset set_nanosecond.datetimeoffset set_second.datetimeoffset set_subsecond_digits set_subsecond_digits.datetimeoffset set_tz set_tz.clock_zoned_time set_tz.datetimeoffset set_tz.default set_year.datetimeoffset
Subsecond helper getter/setterget_microsecond.datetimeoffset get_millisecond.datetimeoffset get_subsecond get_subsecond.datetimeoffset set_microsecond.datetimeoffset set_millisecond.datetimeoffset set_subsecond set_subsecond.datetimeoffset subsecond
Additional datetime extractorsjulian.datetimeoffset months.datetimeoffset quarters.datetimeoffset weekdays.datetimeoffset