Constructors
Synopses
Declared in <bdlt_datetimetz.h>
Create a DatetimeTz object having the (default) attribute values: ` localDatetime() == bdlt::Datetime() offset() == 0 `
DatetimeTz();
Create a DatetimeTz object having the same value as the specified original object.
DatetimeTz(DatetimeTz const& original);
Create a DatetimeTz from a local datetime and UTC offset.
DatetimeTz(
Datetime const& localDatetime,
int offset);
Parameters
Name |
Description |
original |
object providing the value for this object |
localDatetime |
local datetime value |
offset |
time zone offset from UTC in minutes |
Created with MrDocs