Hi Marc,

Thanks for reporting it, it should be fixed in the CVS.

Arnaud

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, November 21, 2002 4:01 PM
> To: [EMAIL PROTECTED]
> Subject: [castor-dev] Bug in Time implementation
> 
> The following test fails. There is a bug in castor Time
implementation.
> 
>       public void testTimePlusDuration () throws Exception
>       {
>             org.exolab.castor.types.Time t1 = new Time ("08:30:00.0");
>             org.exolab.castor.types.Duration d1 = new Duration
("PT1H30M");
> 
>             org.exolab.castor.types.Time t2 = new Time ("10:00:00.0");
>             t1.addDuration (d1);
>             Assert.assertEquals (t2, t1); // FAILS => t1 is
"09:00:00.0"
>       }
> 
> Marc
> 
> 
> 
> 
> 
> ----------------
> Les donnees et renseignements contenus dans ce message sont
personnels,
> confidentiels et secrets. Ce message est adresse a l'individu ou
l'entite dont
> les coordonnees figurent ci-dessus. Si vous n'etes pas le bon
destinataire,
> nous vous demandons de ne pas lire, copier, utiliser ou divulguer
cette
> communication. Nous vous prions de notifier cette erreur a
l'expediteur et
> d'effacer immediatement cette communication de votre systeme.
> The information contained in this message is privileged, confidential,
and
> protected from disclosure. This message is intended for the individual
or
> entity adressed herein. If you are not the intended recipient, please
do not
> read, copy, use or disclose this communication to others; also please
notify
> the sender by replying to this message, and then delete it from your
system.
> 
> -----------------------------------------------------------
> If you wish to unsubscribe from this mailing, send mail to
> [EMAIL PROTECTED] with a subject of:
>       unsubscribe castor-dev

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to