clock 0.4.0
-
New
date_start()anddate_end()for computing the date at the start or
end of a particularprecision, such as the "end of the month" or
the "start of the year". These are powered bycalendar_start()and
calendar_end(), which allow for even more flexible calendar-specific
boundary generation, such as the "last moment in the fiscal quarter" (#232). -
New
invalid_remove()for removing invalid dates. This is just a wrapper
aroundx[!invalid_detect(x)], but works nicely with the pipe (#229). -
All clock types now support
is.nan(),is.finite(), andis.infinite().
Additionally, duration types now supportabs()andsign()(#235). -
tzdb 0.1.2 is now required, which fixes compilation issues on RHEL7/Centos
(#234).