CDK-288: Fix race condition in CalendarFieldPartitioner.

If two threads called apply at the same time, one may get the other's
timestamp because the Calendar is an instance field. The fix is to move
the Calendar instantiation inside the apply method.