[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: DateTime() constructor
From: |
Federico Montesino Pouzols |
Subject: |
Re: DateTime() constructor |
Date: |
Wed, 29 Jan 2003 14:51:36 +0100 |
User-agent: |
Mutt/1.4i |
Ok, it is in CVS. Marcelo, this patch seems to include your
previous one for Time, however I see a little difference as for the
fromSeconds method. Should we apply to CVS the changes to fromSeconds
that you included in the first patch?
On Wed, Jan 29, 2003 at 09:40:29AM -0200, Marcelo Dalmas wrote:
> Hi,
>
> attached, a new constructor for Datetime.
>
> On Tue, 28 Jan 2003 10:27:12 -0500
> "Mike Suchoff" <address@hidden> wrote:
>
> > In default constructor of DateTime
> > DateTime::DateTime() : Date(), Time() {}
> >
> > The separate calls to Date() and Time() will each make a different call to
> > operating system for current time.
> > If call to Date() returns 12/31/2002 23:59:59 and call to Time() returns
> > 1/1/2003 0:0:0 then you end up with value that is off by 24 hours
> > (12/31/2002 0:0:0).
> >
> >
> >
> >
> >
> > _______________________________________________
> > Bug-commoncpp mailing list
> > address@hidden
> > http://mail.gnu.org/mailman/listinfo/bug-commoncpp
> >
>
>
> --
> 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