MIFOSX-1340 : corrected schedule generator to use calendar instance