Allow a more fine-grained division of periods than months
Now and then we have had requests for computing indices based on some other period than can be specified by whole months, e.g. counting the number of dry days between April 15 and end of June, just to mention one example.