[#BloombergLP-bslmt-SaturatedTimeConversionImpUtil-toTimeSpec] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslmt.adoc[bslmt]::xref:BloombergLP/bslmt/SaturatedTimeConversionImpUtil.adoc[SaturatedTimeConversionImpUtil]::toTimeSpec :relfileprefix: ../../../ :mrdocs: Assign to the specified `dst` the value of the specified `src`, and if `src` is less than the lowest representable value of `*dst`, set `*dst` to the minimum value it can represent, and if `src` is greater than the highest representable value of `*dst`, set `*dst` to the maximum value that it can represent. == Synopsis Declared in `<bslmt_saturatedtimeconversionimputil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static void toTimeSpec( xref:BloombergLP/bslmt/SaturatedTimeConversionImpUtil/TimeSpec.adoc[TimeSpec]* dst, xref:BloombergLP/bsls/TimeInterval.adoc[bsls::TimeInterval] const& src); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#