pattern_ISO8601_timezone: Generate a regular expression for ISO 8601 timezones.

View source: R/iso8601_regexp.R

pattern_ISO8601_timezoneR Documentation

Generate a regular expression for ISO 8601 timezones.

Description

Generate a regular expression for ISO 8601 timezones.

Usage

pattern_ISO8601_timezone()

Details

Offsets are always multiples of 15 minutes, so if the minute part is provided, it must be 00, 15, 30, or 45. The range allowed by this function is a bit wider than the current range as of the writing of this function. The allowed range is -14:45 to +14:45 while the actual widest range is currently -12:00 to +14:00.

According to the ISO standard, zero must always be preceded by a + and never a negative. And, "Z" is allowed.

References

https://en.wikipedia.org/wiki/UTC_offset

See Also

Other ISO8601 patterns: pattern_ISO8601_any_datetime(), pattern_ISO8601_any_date(), pattern_ISO8601_calendar_datetime(), pattern_ISO8601_calendar_date(), pattern_ISO8601_calendar_year(), pattern_ISO8601_ordinal_datetime(), pattern_ISO8601_ordinal_date(), pattern_ISO8601_time(), pattern_ISO8601_week_datetime(), pattern_ISO8601_week_date()

Other Date management and conversion: dateany_to_date(), generate_dtc(), is_ISO8601_calendar_datetime(), is_ISO8601_calendar_date(), is_ISO8601_ordinal_datetime(), is_ISO8601_timezone(), is_ISO8601_time(), is_ISO8601_week_datetime(), make_dy(), pattern_ISO8601_any_datetime(), pattern_ISO8601_any_date(), pattern_ISO8601_calendar_datetime(), pattern_ISO8601_calendar_date(), pattern_ISO8601_calendar_year(), pattern_ISO8601_ordinal_datetime(), pattern_ISO8601_ordinal_date(), pattern_ISO8601_time(), pattern_ISO8601_week_datetime(), pattern_ISO8601_week_date(), sdtm_dtc_to_datetime(), sdtm_first_dose(), sdtm_time_actual()


billdenney/Rsdtm documentation built on Dec. 7, 2022, 2:11 a.m.