[PLAT-5775] Added test for calendar swap.
[PLAT-5775] Clean effective and maturity date time.