[#BloombergLP-baltzo-LocalTimePeriod-setUtcStartAndEndTime] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/baltzo.adoc[baltzo]::xref:BloombergLP/baltzo/LocalTimePeriod.adoc[LocalTimePeriod]::setUtcStartAndEndTime :relfileprefix: ../../../ :mrdocs: Use the specified `utcStartTime` and `utcEndTime` to set the `utcStartTime` and `utcEndTime` attributes of this object respectively. 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.) == Synopsis Declared in `<baltzo_localtimeperiod.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void setUtcStartAndEndTime( xref:BloombergLP/bdlt/Datetime.adoc[bdlt::Datetime] const& utcStartTime, xref:BloombergLP/bdlt/Datetime.adoc[bdlt::Datetime] const& utcEndTime); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#