Milliseconds overloads

Synopses

Declared in <absl/time/time.h>

Constructs a Duration from a floating‐point number of milliseconds.

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

Constructs a Duration from an integral number of milliseconds.

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

Return Value

A duration of n milliseconds.

Parameters

Name

Description

n

The number of milliseconds.

Created with MrDocs