IsoClasses

0th

Percentile

ISO 8601 date-time classes

Match ISO 8601 date and time classes.

Usage
iso_date(lo, hi, char_class = TRUE)
iso_time(lo, hi, char_class = TRUE)
iso_datetime(lo, hi, char_class = TRUE)
Arguments
lo
A non-negative integer. Minimum number of repeats, when grouped.
hi
positive integer. Maximum number of repeats, when grouped.
char_class
TRUE or FALSE. Should the values be wrapped into a character class?
Value

A character vector representing part or all of a regular expression.

References

http://www.iso.org/iso/iso8601

Aliases
  • IsoClasses
  • IsoDateTime
  • iso_date
  • iso_datetime
  • iso_time
Examples
iso_date()
iso_time()
iso_datetime()

# With repetition
iso_date(3, 6)
iso_time(1, Inf)
iso_datetime(0, Inf)

# Without a class wrapper
iso_date(char_class = FALSE)
Documentation reproduced from package rebus.datetimes, version 0.0-1, License: Unlimited

Community examples

Looks like there are no examples yet.