[#BloombergLP-bdlt-operator_le-0c]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::operator&lt;&equals;
:relfileprefix: ../../
:mrdocs:

Less&hyphen;than&hyphen;or&hyphen;equal operators

== Synopses

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

Return `true` if the specified `lhs` date is earlier than or the same as the specified `rhs` date, and `false` otherwise&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:BloombergLP/bdlt/operator_le-04.adoc[operator&lt;&equals;](
    xref:BloombergLP/bdlt/Date.adoc[Date] const& lhs,
    xref:BloombergLP/bdlt/Date.adoc[Date] const& rhs);
----

[.small]#xref:BloombergLP/bdlt/operator_le-04.adoc[_» more&period;&period;&period;_]#

Return `true` if the value of the specified `lhs` object is less than or equal to the value of the specified `rhs` object, and `false` otherwise&period; The behavior is undefined unless `24 !&equals; lhs&period;hour() &amp;&amp; 24 !&equals; rhs&period;hour()`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:BloombergLP/bdlt/operator_le-01.adoc[operator&lt;&equals;](
    xref:BloombergLP/bdlt/Datetime.adoc[Datetime] const& lhs,
    xref:BloombergLP/bdlt/Datetime.adoc[Datetime] const& rhs);
----

[.small]#xref:BloombergLP/bdlt/operator_le-01.adoc[_» more&period;&period;&period;_]#

Return `true` if the specified `lhs` interval is less than or equal to the specified `rhs` interval, and `false` otherwise&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:BloombergLP/bdlt/operator_le-0d.adoc[operator&lt;&equals;](
    xref:BloombergLP/bdlt/DatetimeInterval.adoc[DatetimeInterval] const& lhs,
    xref:BloombergLP/bdlt/DatetimeInterval.adoc[DatetimeInterval] const& rhs);
----

[.small]#xref:BloombergLP/bdlt/operator_le-0d.adoc[_» more&period;&period;&period;_]#

Return `true` if the specified `lhs` time value is less than or equal to the specified `rhs` time value, and `false` otherwise&period; The behavior is undefined unless `lhs !&equals; Time()` and `rhs !&equals; Time()` (i&period;e&period;, they do not have the, default, value 24&colon;00&colon;00&period;000000)&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:BloombergLP/bdlt/operator_le-0f.adoc[operator&lt;&equals;](
    xref:BloombergLP/bdlt/Time.adoc[Time] const& lhs,
    xref:BloombergLP/bdlt/Time.adoc[Time] const& rhs);
----

[.small]#xref:BloombergLP/bdlt/operator_le-0f.adoc[_» more&period;&period;&period;_]#


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