MIFOSX-1340 : corrected schedule generator to use calendar instance
Merge pull request #973 from pramodn02/MIFOSX-1340

MIFOSX-1340 : corrected schedule generator to use calendar instance