[#BloombergLP-bdlt-DatetimeInterval-setTotalMicroseconds]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::xref:BloombergLP/bdlt/DatetimeInterval.adoc[DatetimeInterval]::setTotalMicroseconds
:relfileprefix: ../../../
:mrdocs:

Set this interval to the specified total number of `microseconds`&period;

== Synopsis

Declared in `&lt;bdlt&lowbar;datetimeinterval&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
setTotalMicroseconds(xref:BloombergLP/bsls/Types/Int64.adoc[bsls::Types::Int64] microseconds);
----

== Description

Set the overall value of this object to indicate the specified number of `microseconds`&period; Note that there is no `setTotalMicrosecondsIfValid` because no value of `microseconds` can cause the number of days to overflow&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *microseconds*
| total microseconds
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
