ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran" <stev...@iseran.com>
Subject Re: Problem with latest Selector patch?
Date Tue, 09 Jul 2002 16:00:28 GMT

----- Original Message -----
From: "Stefan Bodewig" <bodewig@apache.org>
To: <ant-dev@jakarta.apache.org>
Sent: Tuesday, July 09, 2002 5:22 AM
Subject: Re: Problem with latest Selector patch?


> On 09 Jul 2002, Stefan Bodewig <bodewig@apache.org> wrote:
>
> > Locale?
>
> Seems to be the case:
>
>         DateFormat df = DateFormat.getDateTimeInstance(DateFormat.SHORT,
>                                                        DateFormat.SHORT,
>                                                        Locale.US);
>         Date d = df.parse("11/21/2001 4:55 AM");
>         System.err.println(d.getTime());
>
> results in 1006314900000 which is nine hours different from the value
> you've had (which happens to be the difference between my time zone
> and some US time zone in the west AFAIK).

seems more like a location problem than a locale problem' they are dogs to
test. Wait till you are writing GPS software and need to verify that it
works on the southern hemisphere, or on a laptop travelling over 100mph.
That is not so easy to test, not out here in Oregon.

-steve


--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message