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