[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 21:49:07 +0100 |
User-agent: |
Mutt/1.4i |
Um, it would be a very nice feature.
On Wed, Jan 29, 2003 at 03:14:22PM -0200, Marcelo Dalmas wrote:
> The patch for fromSeconds method should't be apply because methods like
> getHour,
> getMinute, etc., use fromSeconds.
>
> What do you think about add inserter, extractor and maipulators to Date,
> Time and Datetime? Something like:
>
> cout << width(5) << time << endl; // 14:00
> cout << width(8) << time << endl; // 14:00:00
> cout << pm << time << endl; // 2:00pm
>