absl::Milliseconds

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);
» more...

Constructs a Duration from an integral number of milliseconds.

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

Return Value

A duration of n milliseconds.

Parameters

NameDescription
nThe number of milliseconds.