Adds a more flexible date partitioning scheme.