NEWS.md

timeDate 4032.109.9000

Deprecation Warning: a timeDate method for months has existed for a long time but it was returning a numeric vector, which is inconsistent with the other methods for months in base R (they return names of months). Returning a numeric vector when 'abbreviate' is missing is a temporary compromise, to avoid breaking old code but this should be considered deprecated. Use td$month to get the numbers.

timeDate 4032.109

Thanks to Sylvie Lachaud for reporting the issues with Japan holiday functions, as well as providing current correct definitions and extensive list of links.

timeDate 4022.108

timeDate 4021.107

Previously timeSequence was moving DST gaps down by 1 hour (for by = 'DSTday' and similar). This was not consistent similar time functions in R and was actually due to a bug (or unfinished DST handling) in timeDate, see remarks for timeDate above.

timeDate 4021.106

timeDate 4021.105

See also below. Contributions for the other exchanges and corrections are welcome.

Returning any closing day by default might be considered a breaking change. However, not returning all closing days was perceived as erroneous by users (eg issue #1356). In fact, the package itself calculates business days by dropping weekends and days returned by holidayXXXX.

Note that holiday() returns the actual dates of the public holidays, while the corresponding days returned by holidayXXXX are the resulting non-weekend closing days, if any.

Deprecation notes

timeDate 4021.104

timeDate 3043.102 and older versions

See file ChangeLog for changes before 4021.104.



Try the timeDate package in your browser

Any scripts or data that you put into this service are public.

timeDate documentation built on Dec. 20, 2023, 4:42 p.m.