Closed wilsonfreitas closed 9 months ago
bizdays doesn't handle correctly non-business days in edges.
The following call
bizdays("2013-01-01", "2014-01-01")
has two non-business days as arguments. In this situation, the index counts one more bizday, which is incorrect.
The example below must return 0 since the arguments represent two consecutive dates non-business days.
bizdays("2013-06-22", "2013-06-23")
This specific case has to be handled separately but is similar to the first example.
bizdays doesn't handle correctly non-business days in edges.
The following call
has two non-business days as arguments. In this situation, the index counts one more bizday, which is incorrect.
The example below must return 0 since the arguments represent two consecutive dates non-business days.
This specific case has to be handled separately but is similar to the first example.