Bug 14819 – lots of things in std.datetime return TickDuration, which is documented as to-be-deprecated
Status
RESOLVED
Resolution
INVALID
Severity
normal
Priority
P1
Component
phobos
Product
D
Version
D2
Platform
All
OS
All
Creation time
2015-07-22T09:35:00Z
Last change time
2015-07-22T21:55:19Z
Assigned to
nobody
Creator
john.loughran.colvin
Comments
Comment #0 by john.loughran.colvin — 2015-07-22T09:35:07Z
What is the path forward here? It's confusing for newcomers reading the documentation.
Comment #1 by issues.dlang — 2015-07-22T21:55:19Z
Um, why are you opening a bug report for this? A forum discussion would make a lot more sense.
In any case, relatively little in std.datetime uses TickDuration. It's only the benchmarking stuff that does. But those functions are going to need to be replaced - presumably in std.benchmark - with similar functions that use MonoTime and Duration. After that's been done, TickDuration and the functions that use it can be deprecated.