BloombergLP::baltzo::LocalTimePeriod::isValidUtcStartAndEndTime

Return true if the specified utcStartTime and utcEndTime have the same value, or if utcStartTime and utcEndTime are comparable (i.e., neither has the value of a default-constructed bdlt::DateTime object) and utcStartTime < utcEndTime; return false otherwise.

Synopsis

Declared in <baltzo_localtimeperiod.h>

static
bool
isValidUtcStartAndEndTime(
    bdlt::Datetime const& utcStartTime,
    bdlt::Datetime const& utcEndTime);