Fix calendar split

since calendar.txt is not a mandatory file (calendars can be filled by calendar_dates.txt too) we need to do the validity pattern split after having read both file.


limit the production period ot one year since we can't handle more anyway