[PLAT-5436] Changed settlement date to premium date. Changed toDerivative to check if settlement is a day in the past (not a time in the past).