handful and interval

Jonathan M Davis jmdavisProg at gmx.com
Sun Sep 2 15:38:13 PDT 2012


On Sunday, September 02, 2012 19:12:30 bearophile wrote:
> Is interval() for time intervals too? :-)

We already have those:

std.dateteme.Interval
std.datetime.PosInfInterval
std.datetime.NegInfInterval

But if all interval needs to work is the comparison operators, then it would 
work with the various time point types in std.datetime.

- Jonathan M Davis


More information about the Digitalmars-d mailing list