Re: [Numpy-discussion] datetime business day API

2011-06-10 Thread Mark Wiebe
I've implemented the busday_offset function with support for the weekmask and roll parameters, the commits are tagged 'datetime-bday' in the pull request here: https://github.com/numpy/numpy/pull/87 -Mark On Thu, Jun 9, 2011 at 5:23 PM, Mark Wiebe wrote: > Here's a possible design for a busine

[Numpy-discussion] datetime business day API

2011-06-09 Thread Mark Wiebe
Here's a possible design for a business day API for numpy datetimes: The 'B' business day unit will be removed. All business day-related calculations will be done using the 'D' day unit. A class *BusinessDayDef* to encapsulate the definition of the business week and holidays. The business day fu