The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
abs
core
time
Returns the absolute value of a duration.
Duration
abs
(Duration duration)
@
safe
pure nothrow @
nogc
Duration
abs
(
Duration
duration
)
TickDuration
abs
(TickDuration duration)
Meta
Source
See Implementation
core
time
aliases
MonoTime
classes
TimeException
enums
ClockType
functions
abs
convClockFreq
convert
dur
nsecsToTicks
ticksToNSecs
to
structs
Duration
MonoTimeImpl
TickDuration
Returns the absolute value of a duration.