Converts a Duration to an integral count of hours.

Synopsis

Declared in <absl/time/time.h>

constexpr
int64_t
ToInt64Hours(Duration d);

Return Value

The number of whole hours in d.

Parameters

Name

Description

d

The duration to convert.

Created with MrDocs