<div dir="ltr"><div>This used to work prior to 2.066 (rc):</div><div>Duration t;<br></div><div>auto tv=timeval(t.total!"seconds",t.fracSec.usecs);</div><div>now it works but with:</div><div>Deprecation: function core.time.Duration.fracSec is deprecated - Please use split instead.<br>
</div><div><br></div><div>I see there's a SysTime.toTimeVal but there's no Duration.toTimeVal. Shouldn't there be?</div><div>What would be the new recommended implementation?</div><div>Also, I think deprecation messages could be more precise, telling exactly how to make the change instead of telling you the function name.</div>
<div><br></div></div>