Standard class for time *period*?

Grant Edwards grant.b.edwards at gmail.com
Tue Mar 28 12:13:02 EDT 2023


On 2023-03-28, Dennis Lee Bieber <wlfraed at ix.netcom.com> wrote:

> So far, you seem to be the only person who has ever asked for a
> single entity incorporating an EPOCH (datetime.datetime) + a
> DURATION (datetime.timedelta).

It seems to me that tuple of two timdate objects (start,end) is the
more obvious representation, but it's six of one and a horse of the
same color.

If one really needs it to be a class, then it woulnd't be much more
than a dozen or two lines of code...

--
Grant



More information about the Python-list mailing list