[Issue 14974] New: core.time.Duration.get depreciation time is up

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Fri Aug 28 17:11:12 PDT 2015


https://issues.dlang.org/show_bug.cgi?id=14974

          Issue ID: 14974
           Summary: core.time.Duration.get depreciation time is up
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Windows
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: druntime
          Assignee: nobody at puremagic.com
          Reporter: joeyemmons at yahoo.com

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.

--


More information about the Digitalmars-d-bugs mailing list