Adding days to std.datetime.Date

via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Dec 2 10:49:54 PST 2014


> But still, why this method 
> http://dlang.org/phobos/std_datetime.html#.Date.add only 
> supports "month" or "years" while this one 
> http://dlang.org/phobos/std_datetime.html#.Date.roll does ?

But still, why this method 
http://dlang.org/phobos/std_datetime.html#.Date.add only supports 
"month" or "years" while this one 
http://dlang.org/phobos/std_datetime.html#.Date.roll does support 
days ?*


More information about the Digitalmars-d-learn mailing list