std.datetime.systime: days Deprecation message

Vino vino.bheeman at hotmail.com
Sat Apr 7 17:25:07 UTC 2018


Hi All,

   Request your help on the below Deprecation message.

import std.datetime.systime: Clock, days, SysTime;

void main (int AgeSize) {
int AgeSize = 1
auto ct2 = Clock.currTime(), st2 = ct2 + days(-AgeSize);
}
test.d(30): Deprecation: Symbol core.time.days is not visible 
from module test.d because it is privately imported in module 
systime


From,
Vino.B


More information about the Digitalmars-d-learn mailing list