LPS-31933 Enterprise Calendar - Changing time zones will cause an all day event to add an extra day

LPS-31933 - Moving this rather awkward date conversion to a util function, as well as using DateMath for conversion now

LPS-31933 - Better name to the conversion function
LPS-31933 Source formatting
LPS-31933 Source Formatting