[#BloombergLP-bdlcc-TimeQueue-09c-countLE]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlcc.adoc[bdlcc]::xref:BloombergLP/bdlcc/TimeQueue-09c.adoc[TimeQueue]::countLE
:relfileprefix: ../../../
:mrdocs:

Return the number of items with a time less than or equal to `time`&period;

== Synopsis

Declared in `&lt;bdlcc&lowbar;timequeue&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
countLE(xref:BloombergLP/bsls/TimeInterval.adoc[bsls::TimeInterval] const& time) const;
----

== Description

Return the number of items in this queue that have a time value less than or equal to the specified `time`&period; Note that the value returned may be obsolete by the time it is received&period;

== Return Value

number of items with time less than or equal to `time`

== Parameters

[cols="1,4"]
|===
| Name| Description
| *time*
| time threshold for counting items
|===


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