[#BloombergLP-bdlt-operator_gt-07] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::operator> :relfileprefix: ../../ :mrdocs: Greater‐than operators == Synopses Declared in `<bdlt_date.h>` Return `true` if the specified `lhs` date is later than the specified `rhs` date, and `false` otherwise. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/bdlt/operator_gt-0c.adoc[operator>]( xref:BloombergLP/bdlt/Date.adoc[Date] const& lhs, xref:BloombergLP/bdlt/Date.adoc[Date] const& rhs); ---- [.small]#xref:BloombergLP/bdlt/operator_gt-0c.adoc[_» more..._]# Return `true` if the value of the specified `lhs` object is greater than the value of the specified `rhs` object, and `false` otherwise. A `Datetime` object `a` is greater than a `Datetime` object `b` if `a.date() > b.date()`, or if `a.date() == b.date()` and the time portion of `a` is greater than the time portion of `b`. The behavior is undefined unless `24 != lhs.hour() && 24 != rhs.hour()`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/bdlt/operator_gt-02.adoc[operator>]( xref:BloombergLP/bdlt/Datetime.adoc[Datetime] const& lhs, xref:BloombergLP/bdlt/Datetime.adoc[Datetime] const& rhs); ---- [.small]#xref:BloombergLP/bdlt/operator_gt-02.adoc[_» more..._]# Return `true` if the specified `lhs` interval is greater than the specified `rhs` interval, and `false` otherwise. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/bdlt/operator_gt-0f.adoc[operator>]( xref:BloombergLP/bdlt/DatetimeInterval.adoc[DatetimeInterval] const& lhs, xref:BloombergLP/bdlt/DatetimeInterval.adoc[DatetimeInterval] const& rhs); ---- [.small]#xref:BloombergLP/bdlt/operator_gt-0f.adoc[_» more..._]# Return `true` if the specified `lhs` time value is greater than the specified `rhs` time value, and `false` otherwise. The behavior is undefined unless `lhs != Time()` and `rhs != Time()` (i.e., they do not have the, default, value 24:00:00.000000). [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/bdlt/operator_gt-0a.adoc[operator>]( xref:BloombergLP/bdlt/Time.adoc[Time] const& lhs, xref:BloombergLP/bdlt/Time.adoc[Time] const& rhs); ---- [.small]#xref:BloombergLP/bdlt/operator_gt-0a.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#