Add experimental support to compute the next date of a time period.