On 2013-09-06 10:59, Michael Dürig wrote:
On 6.9.13 10:37 , Julian Reschke wrote:
The way this is done in o.a.j.o.plugins.value.Conversions is through
Calendar.getInstance(UTC)
with
TimeZone UTC = TimeZone.getTimeZone("GMT+00:00");
...
Understood, but what's the point in taking the detour through a Calendar
object in the first place?
Well, ask the authors of the spec ;-)
The place I cited this from is used for the various conversion of Values
instances, where Calender is used.
:-)
I wasn't asking about JCR's use of Calendar (which I believe was a bad
idea), but the use of Calendar just to get the absolute system time...
Best regards, Julian