Changelog#

The source code is hosted and maintained on github.

Version 0.0.4 (7 March 2020)#

  • renamed map to apply

  • added weekdayof utility function

  • refactored utils.dayof, utils.daysfrom and utils.daysto

  • removed add method to maintain immutability

  • removed length property (use len(calendar) instead)

Version 0.0.3 (1 March 2020)#

  • added utils.dayof, utils.daysto and utils.daysfrom

  • exposed datetime.datetime as module

  • added constants

  • fixed a bug in utils.floor and utils.ceil on weekly frequencies

  • replaced internals.isdatelike by simple isinstance type-check

Version 0.0.2 (22 February 2020)#

  • added Calendar.split

Version 0.0.1 (22 February 2020)#

  • added Calendar class

  • added utility functions to compute semester, trimester and quarter of given date

  • added utility functions to compute start and end of period (e.g. month)