Use the specified utcStartTime and utcEndTime to set the corresponding attributes of this object.
Synopsis
Declared in <baltzo_localtimeperiod.h>
void
setUtcStartAndEndTime(
bdlt::Datetime const& utcStartTime,
bdlt::Datetime const& utcEndTime);
Description
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.)
Parameters
Name |
Description |
utcStartTime |
UTC start time of the period |
utcEndTime |
UTC end time of the period |
Created with MrDocs