Constructs a Duration from an integral number of hours.

Synopsis

Declared in <absl/time/time.h>

template<
    typename T,
    /* implementation-defined */ = 0>
constexpr
Duration
Hours(T n);

Return Value

A duration of n hours.

Parameters

Name

Description

n

The number of hours.

Created with MrDocs