Workaround for LPS-43917.

Bug is described with details in LPS-43917. I called this a workaround because I don't know how to represent java.util.Calendar in javascript. As a parameter I pass only timestamp from my javascript, and then directly in Java code, I create Calendar object with default locale. Anyway, I don't know if there is even a possibility and will to utilize date objects with timezone at javascript level.

Regards,
Krzysztof Gołębiowski