Return true if lhs is greater than or equal to rhs.

Synopsis

Declared in <bdlt_datetime.h>

bool
operator>=(
    Datetime const& lhs,
    Datetime const& rhs);

Description

Return true if the value of the specified lhs object is greater than or equal to the value of the specified rhs object, and false otherwise. The behavior is undefined unless 24 != lhs.hour() && 24 != rhs.hour().

Return Value

true if lhs is greater than or equal to rhs

Parameters

Name

Description

lhs

left‐hand datetime operand

rhs

right‐hand datetime operand

Created with MrDocs