Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Timezones and versions of Java

Reply
Thread Tools

Timezones and versions of Java

 
 
Lew
Guest
Posts: n/a
 
      05-24-2011
On 05/24/2011 04:25 AM, Lawrence D'Oliveiro wrote:
> In message<l0t0ynlpptf2$.>, Lothar Kimmeringer wrote:
>
>> Lawrence D'Oliveiro wrote:
>>
>>> In message<iretd3$lgu$>, Daniele Futtorovic wrote:
>>>>
>>>> The JRE carries regularly updated timezone info (which can be updated
>>>> independently of the JRE) for the purpose of running in environments
>>>> that do not sport a perfectly serviceable set of timezone informations.
>>>
>>> Which is not the case with Linux. Why can it not use zoneinfo when it’s
>>> available?

>>
>> Because these files are part of the runtime-classes which are
>> Java and are therefor platform independent.

>
> Is that like saying you can never take the plane from an airport in your
> town, because other towns don’t have airports?
>
>> BTW: How is Linux ensuring that the timezone-files are staying correct?

>
> Much more easily and quickly than any software vendor can provide software
> patches.
>
> For example, Chile recently rushed through a bill to extend its daylight-
> saving hours, just days before the period was due to end under the old
> rules. A zoneinfo patch was available that same week
> <http://article.gmane.org/gmane.comp.time.tz/3702>, and has already been
> rolled into the regular release<ftp://elsie.nci.nih.gov/pub/>.
>
> Has Java been patched for this yet?


Yes, as you would know if you did even the most minimal checking.

--
Lew
Honi soit qui mal y pense.
http://upload.wikimedia.org/wikipedi.../c/cf/Friz.jpg
 
Reply With Quote
 
 
 
 
Martin Gregorie
Guest
Posts: n/a
 
      05-24-2011
On Tue, 24 May 2011 20:25:01 +1200, Lawrence D'Oliveiro wrote:

>
> Is that like saying you can never take the plane from an airport in your
> town, because other towns don’t have airports?
>

No.


--
martin@ | Martin Gregorie
gregorie. | Essex, UK
org |
 
Reply With Quote
 
 
 
 
Lothar Kimmeringer
Guest
Posts: n/a
 
      05-24-2011
Lawrence D'Oliveiro wrote:

> In message <l0t0ynlpptf2$.>, Lothar Kimmeringer wrote:
>>
>> Because these files are part of the runtime-classes which are
>> Java and are therefor platform independent.

>
> Is that like saying you can never take the plane from an airport in your
> town, because other towns dont have airports?


No, it's more like saying, that I prefer wearing my own watch even
if I reside in an area where you can see public clocks very often.


Regards, Lothar
--
Lothar Kimmeringer E-Mail:
PGP-encrypted mails preferred (Key-ID: 0x8BC3CD81)

Always remember: The answer is forty-two, there can only be wrong
questions!
 
Reply With Quote
 
Lawrence D'Oliveiro
Guest
Posts: n/a
 
      05-25-2011
In message <irg8gm$ibj$>, Martin Gregorie wrote:

> [rubbish]


Interesting how not a single one of you has addressed the relevant point.
Let me repeat it:

For example, Chile recently rushed through a bill to extend its daylight-
saving hours, just days before the period was due to end under the old
rules. A zoneinfo patch was available that same week
<http://article.gmane.org/gmane.comp.time.tz/3702>, and has already been
rolled into the regular release <ftp://elsie.nci.nih.gov/pub/>.

Has Java been patched for this yet?
 
Reply With Quote
 
Lawrence D'Oliveiro
Guest
Posts: n/a
 
      05-25-2011
In message <10v5xwjy2wwvr$.>, Lothar Kimmeringer wrote:

> Lawrence D'Oliveiro wrote:
>
>> In message <l0t0ynlpptf2$.>, Lothar Kimmeringer wrote:
>>>
>>> Because these files are part of the runtime-classes which are
>>> Java and are therefor platform independent.

>>
>> Is that like saying you can never take the plane from an airport in your
>> town, because other towns don’t have airports?

>
> No, it's more like saying, that I prefer wearing my own watch even
> if I reside in an area where you can see public clocks very often.


No, it’s more like saying you aren’t allowed to use the public clock, you
must go by my watch.

Java isn’t giving you the choice of whether to be stupid or clever, it’s
forcing you to always be stupid.
 
Reply With Quote
 
Lew
Guest
Posts: n/a
 
      05-25-2011
On 05/24/2011 08:04 PM, Lawrence D'Oliveiro wrote:
> In message<irg8gm$ibj$>, Martin Gregorie wrote:
>
>> [rubbish]

>
> Interesting how not a single one of you has addressed the relevant point.
> Let me repeat it:
>
> For example, Chile recently rushed through a bill to extend its daylight-
> saving hours, just days before the period was due to end under the old
> rules. A zoneinfo patch was available that same week
> <http://article.gmane.org/gmane.comp.time.tz/3702>, and has already been
> rolled into the regular release<ftp://elsie.nci.nih.gov/pub/>.
>
> Has Java been patched for this yet?


Again, asked and answered. Yes.

--
Lew
Honi soit qui mal y pense.
http://upload.wikimedia.org/wikipedi.../c/cf/Friz.jpg
 
Reply With Quote
 
Roedy Green
Guest
Posts: n/a
 
      05-25-2011
On Mon, 23 May 2011 07:38:54 -0700 (PDT), loial <>
wrote, quoted or indirectly quoted someone who said :

>
>
>Do I need to do something different in Java 1.6?.


read the release notes for the two versions and those in between to
see the corrections made to timezone data. Timezones are as goofy as
the spellings of female babies. It is big job to keep track of all
the eccentricities.

The later version will be the more correct.
--
Roedy Green Canadian Mind Products
http://mindprod.com
How long did it take after the car was invented before owners understood
cars would not work unless you regularly changed the oil and the tires?
We have gone 33 years and still it is rare to uncover a user who
understands computers don't work without regular backups.

 
Reply With Quote
 
Stanimir Stamenkov
Guest
Posts: n/a
 
      05-25-2011
Wed, 25 May 2011 12:04:30 +1200, /Lawrence D'Oliveiro/:

> For example, Chile recently rushed through a bill to extend its daylight-
> saving hours, just days before the period was due to end under the old
> rules. A zoneinfo patch was available that same week
> <http://article.gmane.org/gmane.comp.time.tz/3702>, and has already been
> rolled into the regular release <ftp://elsie.nci.nih.gov/pub/>.
>
> Has Java been patched for this yet?


Java has a TZupdater (Timezone Updater) tool which takes care:

http://www.oracle.com/technetwork/ja....html#timezone

http://www.oracle.com/technetwork/ja...me-136440.html

http://www.oracle.com/technetwork/ja...es-137583.html

and yes the exact update you're mentioning seems to be there:

http://www.oracle.com/technetwork/ja...ns-138805.html

That's what Lew has referred to with "you would know if you did even
the most minimal checking".

--
Stanimir
 
Reply With Quote
 
Lawrence D'Oliveiro
Guest
Posts: n/a
 
      05-25-2011
In message <iri87l$no8$>, Stanimir Stamenkov wrote:

> Wed, 25 May 2011 12:04:30 +1200, /Lawrence D'Oliveiro/:
>
>> For example, Chile recently rushed through a bill to extend its daylight-
>> saving hours, just days before the period was due to end under the old
>> rules. A zoneinfo patch was available that same week
>> <http://article.gmane.org/gmane.comp.time.tz/3702>, and has already been
>> rolled into the regular release <ftp://elsie.nci.nih.gov/pub/>.
>>
>> Has Java been patched for this yet?

>
> Java has a TZupdater (Timezone Updater) tool which takes care:


So the answer is “no”: you need to download, install and run a separate tool
to apply a patch to fix it up.

How many people are going to bother with this?
 
Reply With Quote
 
Lawrence D'Oliveiro
Guest
Posts: n/a
 
      05-25-2011
In message <iri87l$no8$>, Stanimir Stamenkov wrote:

> Java has a TZupdater (Timezone Updater) tool which takes care:


Actually the link (bypassing the licence-agreement page) is here
<http://download.oracle.com/otn-pub/java/tzupdater/1.3.38/tzupdater-1_3_38-2011e.zip>.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Supporting Joda timezones in non-Java applications. jasonc Java 5 03-03-2009 02:36 AM
ASP.NET AJAX Date serialization and timezones =?Utf-8?B?U3R1?= ASP .Net 7 04-18-2007 09:06 AM
timezones and time_t MrBlueSky Python 2 08-19-2006 09:20 PM
Help with DateTime and TimeZones / DayLight savings time Ryan Ternier ASP .Net 1 10-14-2005 05:20 PM
log4j and Timezones - help! sarah.wilson@cpp.co.uk Java 2 02-11-2005 09:22 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57