Use the specified utcStartTime and utcEndTime to set the corresponding attributes of this object.
Declared in <baltzo_localtimeperiod.h>
void
setUtcStartAndEndTime(
bdlt::Datetime const& utcStartTime,
bdlt::Datetime const& utcEndTime);
The behavior is undefined unless utcStartTime == utcEndTime, or if utcStartTime and utcEndTime are comparable (i.e., neither equals a default constructed bdlt::DateTime object) unless `utcStartTime < utcEndTime. (See the isValidUtcStartAndEndTime` method.)
| Name | Description |
|---|---|
| utcStartTime | UTC start time of the period |
| utcEndTime | UTC end time of the period |