bug-commoncpp
[Top][All Lists]
Advanced

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

Re: date.cpp patch


From: Federico Montesino Pouzols
Subject: Re: date.cpp patch
Date: Wed, 22 Jan 2003 09:24:48 +0100
User-agent: Mutt/1.4i

        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





reply via email to

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