Assuming regularly spaced time, the interval_pull() returns a list of time
components as the "interval" class.
Usage
interval_pull(x)
Value
An "interval" class (a list) includes "year",
"quarter", "month", "week", "day", "hour", "minute", "second", "millisecond",
"microsecond", "nanosecond", "unit".
Arguments
x
A vector of index-like class.
Details
Extend tsibble to support custom time indexes by defining S3 generics
index_valid() and interval_pull() for them.