[Python-ideas] datetime: Support infinity

Chris Barker chris.barker at noaa.gov
Wed Jan 28 06:17:17 CET 2015


On Tue, Jan 27, 2015 at 7:29 PM, Yawar Amin <yawar.amin at gmail.com> wrote:

> On 2015-01-26 11:31, Chris Barker - NOAA Federal wrote:
> > I have a sample implementation if anyone wants to look at it,
> > though I don't think it does reflected comparisons correctly. it's
> > really only just good enough for our use case.
>
> I'd like to take a look. Can you send it to me, or post it somewhere?
>

Sure, here you go:

https://github.com/NOAA-ORR-ERD/PyGnome/blob/master/py_gnome/gnome/utilities/inf_datetime.py

-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/python-ideas/attachments/20150127/b6ee2e88/attachment.html>


More information about the Python-ideas mailing list