[#BloombergLP-bdlt-operator_lt-0c1]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::operator&lt;
:relfileprefix: ../../
:mrdocs:

Less&hyphen;than operators

== Synopses

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

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


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

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

Return `true` if the value of the specified `lhs` object is less than the value of the specified `rhs` object, and `false` otherwise&period; A `Datetime` object `a` is less than a `Datetime` object `b` if `a&period;date() &lt; b&period;date()`, or if `a&period;date() &equals;&equals; b&period;date()` and the time portion of `a` is less than the time portion of `b`&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_lt-0d.adoc[operator&lt;](
    xref:BloombergLP/bdlt/Datetime.adoc[Datetime] const& lhs,
    xref:BloombergLP/bdlt/Datetime.adoc[Datetime] const& rhs);
----

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

Return `true` if the nominal relation between the specified `lhs` and `rhs` time interval values holds, and `false` otherwise&period; `lhs` is less than `rhs` if the following expression evaluates to `true`&colon; &grave; lhs&period;days() &lt; rhs&period;days() &verbar;&verbar; (lhs&period;days() &equals;&equals; rhs&period;days() &amp;&amp; lhs&period;fractionalDayInMicroseconds() &lt; rhs&period;fractionalDayInMicroseconds()) &grave; The other relationships are defined similarly&period;


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

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

Return `true` if the specified `lhs` time value is less than 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_lt-0a.adoc[operator&lt;](
    xref:BloombergLP/bdlt/Time.adoc[Time] const& lhs,
    xref:BloombergLP/bdlt/Time.adoc[Time] const& rhs);
----

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

Return `true` if the specified `lhs` daily timetable is less than the specified `rhs` daily timetable, and `false` otherwise&period; The `lhs` daily timetable is less than the `rhs` daily timetable if `lhs&period;initialTransitionCode() &lt; rhs&period;initialTransitionCode()`, or `lhs&period;initialTransitionCode() &equals;&equals; rhs&period;initialTransitionCode()` and `lhs&period;d&lowbar;transitions &lt; rhs&period;d&lowbar;transitions`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:BloombergLP/bdlt/operator_lt-0c5.adoc[operator&lt;](
    xref:BloombergLP/bdlt/Timetable_Day.adoc[Timetable&lowbar;Day] const& lhs,
    xref:BloombergLP/bdlt/Timetable_Day.adoc[Timetable&lowbar;Day] const& rhs);
----

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

Return `true` if the specified `lhs` has a value less than the specified `rhs`, and `false` otherwise&period; Timetable transition `lhs` has a value less than timetable transition `rhs` if `lhs&period;datetime() &lt; rhs&period;datetime()`, or `lhs&period;datetime() &equals;&equals; rhs&period;datetime()` and `lhs&period;code() &lt; rhs&period;code()`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:BloombergLP/bdlt/operator_lt-03c.adoc[operator&lt;](
    xref:BloombergLP/bdlt/TimetableTransition.adoc[TimetableTransition] const& lhs,
    xref:BloombergLP/bdlt/TimetableTransition.adoc[TimetableTransition] const& rhs);
----

[.small]#xref:BloombergLP/bdlt/operator_lt-03c.adoc[_» more&period;&period;&period;_]#

Return `true` if the specified `lhs` has a value less than the specified `rhs`, and `false` otherwise&period; Timetable transition `lhs` has a value less than datetime `rhs` if `lhs&period;datetime() &lt; rhs`&period; The behavior is undefined unless `24 &gt; rhs&period;hour()`&period;


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

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

Return `true` if the specified `lhs` has a value less than the specified `rhs`, and `false` otherwise&period; Datetime `lhs` has a value less than timetable transition `rhs` if `lhs &lt; rhs&period;datetime()`&period; The behavior is undefined unless `24 &gt; lhs&period;hour()`&period;


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

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

Return `true` if the specified `lhs` has a value less than the specified `rhs`, and `false` otherwise&period; Compactable transition `lhs` has a value less than compactable transition `rhs` if `lhs&period;time() &lt; rhs&period;time()`, or `lhs&period;time() &equals;&equals; rhs&period;time()` and `lhs&period;code() &lt; rhs&period;code()`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:BloombergLP/bdlt/operator_lt-0b.adoc[operator&lt;](
    xref:BloombergLP/bdlt/Timetable_CompactableTransition.adoc[Timetable&lowbar;CompactableTransition] const& lhs,
    xref:BloombergLP/bdlt/Timetable_CompactableTransition.adoc[Timetable&lowbar;CompactableTransition] const& rhs);
----

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

Return `true` if the specified `lhs` has a value less than the specified `rhs`, and `false` otherwise&period; Compactable transition `lhs` has a value less than time `rhs` if `lhs&period;time() &lt; rhs`&period; The behavior is undefined unless `24 &gt; rhs&period;hour()`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:BloombergLP/bdlt/operator_lt-08a.adoc[operator&lt;](
    xref:BloombergLP/bdlt/Timetable_CompactableTransition.adoc[Timetable&lowbar;CompactableTransition] const& lhs,
    xref:BloombergLP/bdlt/Time.adoc[Time] const& rhs);
----

[.small]#xref:BloombergLP/bdlt/operator_lt-08a.adoc[_» more&period;&period;&period;_]#

Return `true` if the specified `lhs` has a value less than the specified `rhs`, and `false` otherwise&period; Time `lhs` has a value less than compactable transition `rhs` if `lhs &lt; rhs&period;time()`&period; The behavior is undefined unless `24 &gt; lhs&period;hour()`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:BloombergLP/bdlt/operator_lt-08c.adoc[operator&lt;](
    xref:BloombergLP/bdlt/Time.adoc[Time] const& lhs,
    xref:BloombergLP/bdlt/Timetable_CompactableTransition.adoc[Timetable&lowbar;CompactableTransition] const& rhs);
----

[.small]#xref:BloombergLP/bdlt/operator_lt-08c.adoc[_» more&period;&period;&period;_]#


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