Convert the specified seconds literal to a TimeInterval.

Synopsis

Declared in <bsls_timeinterval.h>

constexpr
bsls::TimeInterval
operator""_s(unsigned long long seconds);

Description

This user defined literal operator converts the specified seconds value to the respective TimeInterval value. The behavior is undefined unless the specified number of seconds can be converted to valid TimeInterval object. (See the "User‐Defined Literals" section in the component‐level documentation.)

Return Value

a TimeInterval representing the specified number of seconds

Parameters

Name

Description

seconds

seconds literal

Created with MrDocs