[#BloombergLP-bdlt-operator_le-0c] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::operator<= :relfileprefix: ../../ :mrdocs: Less‐than‐or‐equal operators == Synopses Declared in `<bdlt_date.h>` Return `true` if the specified `lhs` date is earlier than or the same as the specified `rhs` date, and `false` otherwise. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/bdlt/operator_le-04.adoc[operator<=]( 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..._]# Return `true` if `lhs` is less than or equal to `rhs`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/bdlt/operator_le-01.adoc[operator<=]( 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..._]# Return `true` if the specified `lhs` interval is less than or equal to the specified `rhs` interval, and `false` otherwise. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/bdlt/operator_le-0d.adoc[operator<=]( 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..._]# Return `true` if `lhs` is earlier than or equal to `rhs`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/bdlt/operator_le-0f.adoc[operator<=]( 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..._]# == Return Value * `true` if `lhs` is earlier than or the same as `rhs` * `true` if `lhs` is less than or equal to `rhs` * `true` if `lhs` is less than or equal to `rhs`, and `false` otherwise * `true` if `lhs` is earlier than or equal to `rhs`, and `false` otherwise == Parameters [cols="1,4"] |=== | Name| Description | *lhs* | left‐hand date operand | *rhs* | right‐hand date operand |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#