Package: datetimeoffset 1.0.0

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:
datetimeoffset_1.0.0.tar.gz
datetimeoffset_1.0.0.zip(r-4.7)datetimeoffset_1.0.0.zip(r-4.6)datetimeoffset_1.0.0.zip(r-4.5)
datetimeoffset_1.0.0.tgz(r-4.6-any)datetimeoffset_1.0.0.tgz(r-4.5-any)
datetimeoffset_1.0.0.tar.gz(r-4.7-any)datetimeoffset_1.0.0.tar.gz(r-4.6-any)
datetimeoffset_1.0.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
datetimeoffset/json (API)
NEWS
| # Install 'datetimeoffset' in R: |
| install.packages('datetimeoffset', repos = c('https://trevorld.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/trevorld/r-datetimeoffset/issues
Pkgdown/docs site:https://trevorldavis.com
Last updated from:0ebd5462d0. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 142 | ||
| source / vignettes | OK | 179 | ||
| linux-release-x86_64 | OK | 147 | ||
| macos-release-arm64 | OK | 109 | ||
| macos-oldrel-arm64 | OK | 114 | ||
| windows-devel | OK | 115 | ||
| windows-release | OK | 97 | ||
| windows-oldrel | OK | 96 | ||
| wasm-release | OK | 103 |
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
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Coerce to "datetimeoffset" objects | as_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 time | datetime_at_tz datetime_at_tz.clock_zoned_time datetime_at_tz.datetimeoffset datetime_at_tz.default datetime_at_tz.POSIXt |
| Widen/narrow datetime precision | datetime_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 precision | datetime_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 timezones | datetimeoffset |
| Various "datetimeoffset" object utilities | datetimeoffset_now datetimeoffset_utilities is_datetimeoffset NA_datetimeoffset_ |
| Invalid datetimeoffset datetimes | datetimeoffset-invalid invalid_any.datetimeoffset invalid_count.datetimeoffset invalid_detect.datetimeoffset invalid_remove.datetimeoffset invalid_resolve.datetimeoffset |
| Fill in missing time zones and/or UTC offsets | fill_tz fill_utc_offsets |
| Convert datetime objects to character | format format.datetimeoffset format_edtf format_exiftool format_iso8601 format_nanotime format_pdfmark format_strftime |
| Convert to other datetime objects | as.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 strings | getset_utc_offsets get_utc_offsets set_utc_offsets |
| Get datetime components | getters 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.Date get_tz.datetimeoffset get_tz.default get_tz.POSIXt get_year.datetimeoffset |
| Get most common time zone | mode_tz mode_tz.datetimeoffset mode_tz.default |
| Set datetime components | setters 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/setter | get_microsecond.datetimeoffset get_millisecond.datetimeoffset get_subsecond get_subsecond.datetimeoffset set_microsecond.datetimeoffset set_millisecond.datetimeoffset set_subsecond set_subsecond.datetimeoffset subsecond |
| Additional datetime extractors | julian.datetimeoffset months.datetimeoffset quarters.datetimeoffset weekdays.datetimeoffset |
