Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #24896

Re: simpler increment of time values?

References <CAHzaPEO5D498zepGC0EVVURdUE7qxYJk6ksd5yS_Xj_hh5iiyQ@mail.gmail.com> <CANy1k1jo_MN6tGC4abkze2q7MoA1DLgVz98wDgL+oPmOOZ0JbA@mail.gmail.com>
From Devin Jeanpierre <jeanpierreda@gmail.com>
Date 2012-07-05 01:05 -0400
Subject Re: simpler increment of time values?
Newsgroups comp.lang.python
Message-ID <mailman.1811.1341464789.4697.python-list@python.org> (permalink)

Show all headers | View raw


On Thu, Jul 5, 2012 at 12:57 AM, Jason Friedman <jason@powerpull.net> wrote:
> I have some thoughts on a solution, but first, what is 12:45 plus 12
> hours?  What is 12:45 minus 13 hours?

Is there anything unusual that can happen for a notion of time that is
dateless, timezone-unaware, and DST-free?

I would imagine that under these constraints the answers are always
0:45 and 23:45 respectively. Although I guess it doesn't hurt to check.

-- Devin

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: simpler increment of time values? Devin Jeanpierre <jeanpierreda@gmail.com> - 2012-07-05 01:05 -0400

csiph-web