Converts a Duration to a floating‐point count of hours.

Synopsis

Declared in <absl/time/time.h>

double
ToDoubleHours(Duration d);

Return Value

The number of hours in d, including any fraction.

Parameters

Name

Description

d

The duration to convert.

Created with MrDocs