BloombergLP::bdlt::DatetimeTz::DatetimeTz

Constructors

Synopses

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...

Parameters

NameDescription
originalobject providing the value for this object
localDatetimelocal datetime value
offsettime zone offset from UTC in minutes