bug-commoncpp
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: date.cpp patch


From: Chad Yates
Subject: RE: date.cpp patch
Date: Wed, 29 Jan 2003 09:37:09 -0800

Hmmm...

setDate() now recognizes formats with /'s *BUT* it no longer recognizes the
formats that it used to, for example '20030129'.  This breaks backward
compatibility (and my test date test suites).

,Chad

> -----Original Message-----
> From: address@hidden
> [mailto:address@hidden Behalf Of
> Federico Montesino Pouzols
> Sent: Wednesday, January 22, 2003 12:25 AM
> To: Marcelo Dalmas
> Cc: ccxx
> Subject: Re: date.cpp patch
>
>
>
>       It is committed in CVS.
>
> On Tue, Jan 21, 2003 at 05:20:18PM -0200, Marcelo Dalmas wrote:
> > Hi,
> >
> > I changed Date::setDate() Time::setTime() Datetime::setDatetime() to
> > recognize strings like:
> >
> > Date: "mm/dd", "yy/mm/dd" and "yyyy/mm/dd", e.g. date("2003/01/21") or
> > date("01-21");
> > Time: "hh:mm" and "hh:mm:ss", e.g. time("14:00");
> > Datetime: "mm/dd hh:mm", "yy/mm/dd hh:mm", "yy/mm/dd hh:mm:ss" and
> > "yyyy/mm/dd hh:mm:ss" Datetime("01/21 16:00").
> >
> > and throw exceptions, objects or nothing for invalid strings.
> >
> > Regards,
> > --
> > Marcelo Dalmas
> > BRASMAP Sistemas
> > www.brasmap.com.br
> > Fone/Fax: (48) 333-2218 ramal 2114
> >
> > Linux user #114373 http://counter.li.org/
> >
>
>
> > _______________________________________________
> > Bug-commoncpp mailing list
> > address@hidden
> > http://mail.gnu.org/mailman/listinfo/bug-commoncpp
>
>
>
> _______________________________________________
> Bug-commoncpp mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/bug-commoncpp





reply via email to

[Prev in Thread] Current Thread [Next in Thread]