[Datetime-SIG] Timeline arithmetic?
Chris Barker
chris.barker at noaa.gov
Thu Sep 10 21:25:55 CEST 2015
On Mon, Sep 7, 2015 at 9:48 PM, Stuart Bishop <stuart at stuartbishop.net>
wrote:
> On 4 September 2015 at 23:01, Chris Barker <chris.barker at noaa.gov> wrote:
>
> > I would like a flag on datetime, but it seems it might be better to put
> that
> > flag on a tzinfo object. But the implementation is the something to argue
> > about only if there is any chance of doing it at all.
>
> I would still lean towards a separate datetimetz class, but that is
> just semantics.
As this conversation has progressed, it seems the way forward, if anyone
wants to go there, is a new datetime class that conforms to Carls "Model A"
-- is that what you mean?
For my part, it would be cool if such a class could use the same tzinfo
objects as datetime.datetime, and maybe the same timedelta.
But as Carl suggested -- that would be a job for a new library anyway.
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
Chris.Barker at noaa.gov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/datetime-sig/attachments/20150910/e0ccffc9/attachment.html>
More information about the Datetime-SIG
mailing list