Returns the absolute value of a duration.

Synopsis

Declared in <absl/time/time.h>

Duration
AbsDuration(Duration d);

Return Value

The absolute value of d.

Parameters

Name

Description

d

The duration to take the absolute value of.

Created with MrDocs