Bug 14974 – core.time.Duration.get depreciation time is up

Status
RESOLVED
Resolution
FIXED
Severity
enhancement
Priority
P1
Component
druntime
Product
D
Version
D2
Platform
x86_64
OS
Windows
Creation time
2015-08-29T00:11:00Z
Last change time
2015-09-01T20:38:29Z
Assigned to
issues.dlang
Creator
joeyemmons

Comments

Comment #0 by joeyemmons — 2015-08-29T00:11:12Z
http://dlang.org/phobos/core_time.html#.Duration.get >Deprecated. Please use split instead. Too frequently, get or one of the individual unit getters is used when the function that gave the desired behavior was total. This should make it more explicit and help prevent bugs. This function will be removed in June 2015. June has come and passed... There are a bunch of functions in core.time.Duration that should be removed by June 2015.