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 object having a local datetime value equal to the specified localDatetime and a time zone offset value from UTC equal to the specified offset (in minutes). The behavior is undefined unless all of the specified values are within their valid ranges (see isValid). Note that this method provides no validation, and it is the user's responsibility to ensure that offset represents a valid time zone and that localDatetime represents a valid datetime in that time zone.
DatetimeTz(
Datetime const& localDatetime,
int offset);
Created with MrDocs