Hi,

Thanks for the patch. But, now the test doesn't work any more for me.
It looks like a bug, but I'm not sure if it's in H2 or in
java.util.Calendar...

Regards,
Thomas

On Sun, Dec 6, 2009 at 10:52 PM, Kerry Sainsbury <[email protected]> wrote:
> Hi Thomas,
>
> There is a problem with running the "TestResultSet.testDatetimeWithCalendar"
> test in New Zealand.
>
> The code gets a "regular" Calendar, and an "other" calendar, via the time
> zone's "raw offset", which in New Zealand evaluates to:
>
> - Regular = Pacific/Auckland timezone with a "raw offset" of 43200000
> - Other = the Etc/GMT+12 timezone with a "raw offset" of -43200000
>
> Given that Auckland is also GMT+12 I'm confused as to why "Etc/GMT+12" ends
> up with a negative "raw offset", but that's not your fault!
>
> Anyway, you might like to adjust the test to use specific timezones, so that
> it always works, where-ever in the world you are. Sample patch attached.
>
> Cheers
> Kerry
>
> --
>
> You received this message because you are subscribed to the Google Groups
> "H2 Database" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/h2-database?hl=en.
>

--

You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/h2-database?hl=en.


Reply via email to