jackrabbit-oak-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Dürig <mdue...@apache.org>
Subject Re: Calendar.getInstance() usage
Date Fri, 06 Sep 2013 08:59:20 GMT


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.

Michael

Mime
View raw message