[PLAT-4227], [PLAT-4228] Using calendars for day-count fractions and devprecating toDerivative