absl::Milliseconds

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

Synopsis

Declared in <absl/time/time.h>

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

Return Value

A duration of n milliseconds.

Parameters

NameDescription
nThe number of milliseconds.