juergen,

are you looking at why there is a unit test failure?

This unit test failure only occurs 2 times a year :) (if you start unit test every day of the year)

it is summertime/winter time swap.

We do this:

Time.add(Duration.ONE_DAY)

ONE_DAY is defined in the number of milliseconds
But java is adding that. Then seeing that it goes over the summer/wintertime and adjust the time again..





On 10/29/05, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
They are defined properly.
-Igor


> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto: [EMAIL PROTECTED]] On Behalf
> Of Juergen Donnerstag
> Sent: Saturday, October 29, 2005 7:46 AM
> To: [email protected]
> Subject: [Wicket-develop] TimeOfDay
>
> This extract is from TimeOfDay. Because I'mm not a native
> english speaker .... I think midnight and noon are defined
> wrong. Shouldn't they be swapped?
>
>       /** Constant for AM time. */
>       public static final Meridian AM = new Meridian("AM");
>
>       /** Constant for midnight. */
>       public static final TimeOfDay MIDNIGHT = time(12, 0, AM);
>
>       /** Constant for PM time. */
>       public static final Meridian PM = new Meridian("PM");
>
>       /** Constant for noon. */
>       public static final TimeOfDay NOON = time(12, 0, PM);
>
> Juergen
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by the JBoss Inc.
> Get Certified Today * Register for a JBoss Training Course
> Free Certification Exam for All Training Attendees Through
> End of 2005 Visit http://www.jboss.com/services/certification
> for more information _______________________________________________
> Wicket-develop mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wicket-develop
>
>
>




-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop

Reply via email to