Assign to the specified dst the value of the specified src converted to milliseconds, and if that value is a negative time interval, set dst to 0, and if that value is greater than the maximum representable value of dst set dst to its maximum representable value. See {Conversion to Milliseconds}.

Synopses

Declared in <bslmt_saturatedtimeconversionimputil.h>

Assign to the specified dst the value of the specified src converted to milliseconds, and if that value is a negative time interval, set dst to 0, and if that value is greater than the maximum representable value of dst set dst to its maximum representable value. See {Conversion to Milliseconds}.

static
void
toMillisec(
    bsls::Types::Uint64* dst,
    bsls::TimeInterval const& src);

Assign to the specified dst the value of the specified src converted to milliseconds, and if that value is a negative time interval, set dst to 0, and if that value is greater than the maximum representable value of dst set dst to its maximum representable value. See {Conversion to Milliseconds}.

static
void
toMillisec(
    unsigned int* dst,
    bsls::TimeInterval const& src);

Assign to the specified dst the value of the specified src converted to milliseconds, and if that value is a negative time interval, set dst to 0, and if that value is greater than the maximum representable value of dst set dst to its maximum representable value. See {Conversion to Milliseconds}.

static
void
toMillisec(
    unsigned long* dst,
    bsls::TimeInterval const& src);

Created with MrDocs