[Experimental]

time_unit(x) <- value

set_time_units(x, value)

Arguments

x

A moment.

value

The new time unit

Details

Modify a moment's granularity to use a different granularity. This is HIGHLY experimental, and more of a proof of concept for how periods of time can be combined by changing the granularity.