[#BloombergLP-bsls-operator_ns]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bsls.adoc[bsls]::operator&quot;&quot;&lowbar;ns
:relfileprefix: ../../
:mrdocs:

Convert the specified `nanoseconds` literal to a `TimeInterval`&period;

== Synopsis

Declared in `&lt;bsls&lowbar;timeinterval&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
constexpr
xref:BloombergLP/bsls/TimeInterval.adoc[bsls::TimeInterval]
operator&quot;&quot;&lowbar;ns(unsigned long long nanoseconds);
----

== Description

This user defined literal operator converts the specified `nanoseconds` value to the respective `TimeInterval` value&period; (See the &quot;User&hyphen;Defined Literals&quot; section in the component&hyphen;level documentation&period;)

== Return Value

a `TimeInterval` representing the specified number of nanoseconds

== Parameters

[cols="1,4"]
|===
| Name| Description
| *nanoseconds*
| nanoseconds literal
|===


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