[#BloombergLP-bdlt-DateTz]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::DateTz
:relfileprefix: ../../
:mrdocs:

This value&hyphen;semantic class describes a date value in a particular time zone, which is indicated using an offset from UTC (in minutes)&period;

== Synopsis

Declared in `&lt;bdlt&lowbar;datetz&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
class DateTz;
----

== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bdlt/DateTz/2constructor-07.adoc[`DateTz`]         [.small]#[constructor]#
| Constructors
| xref:BloombergLP/bdlt/DateTz/2destructor.adoc[`&#126;DateTz`] [.small]#[destructor]#
| Destroy this object&period;
| xref:BloombergLP/bdlt/DateTz/operator_assign.adoc[`operator&equals;`] 
| Assign to this object the value of the specified `rhs` object, and return a reference providing modifiable access to this object&period;
| xref:BloombergLP/bdlt/DateTz/bdexStreamIn.adoc[`bdexStreamIn`] 
| Assign to this object the value read from the specified input stream&period;
| xref:BloombergLP/bdlt/DateTz/bdexStreamOut.adoc[`bdexStreamOut`] 
| Write this object to the specified output stream using BDEX&period;
| xref:BloombergLP/bdlt/DateTz/gmtStartTime.adoc[`gmtStartTime`] 
| Return the UTC datetime when this object&apos;s local date starts&period;
| xref:BloombergLP/bdlt/DateTz/localDate.adoc[`localDate`] 
| Return the local date represented by this object&period;
| xref:BloombergLP/bdlt/DateTz/offset.adoc[`offset`] 
| Return the time zone offset of this `DateTz` object&period; Note that the offset is in minutes from UTC&period;
| xref:BloombergLP/bdlt/DateTz/print.adoc[`print`] 
| Write this object to the specified stream in a human&hyphen;readable format&period;
| xref:BloombergLP/bdlt/DateTz/setDateTz.adoc[`setDateTz`] 
| Set this object&apos;s local date and time zone offset&period;
| xref:BloombergLP/bdlt/DateTz/setDateTzIfValid.adoc[`setDateTzIfValid`] 
| Set this object&apos;s date and offset if they form a valid `DateTz`&period;
| xref:BloombergLP/bdlt/DateTz/utcStartTime.adoc[`utcStartTime`] 
| Return the UTC datetime when this object&apos;s local date starts&period;
| xref:BloombergLP/bdlt/DateTz/validateAndSetDateTz.adoc[`validateAndSetDateTz`] 
| Set this object&apos;s date and offset if they form a valid `DateTz`&period;
|===


== Static Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bdlt/DateTz/isValid.adoc[`isValid`] 
| Return whether `localDate` and `offset` form a valid `DateTz`&period;
| xref:BloombergLP/bdlt/DateTz/maxSupportedBdexVersion-03.adoc[`maxSupportedBdexVersion`] 
| `maxSupportedBdexVersion` overloads
|===


== Non-Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bdlt/operator_not_eq-098.adoc[`operator!&equals;`]
| Return whether the specified `lhs` and `rhs` do not have the same value&period;
| xref:BloombergLP/bdlt/operator_eq-000.adoc[`operator&equals;&equals;`]
| Return whether the specified `lhs` and `rhs` have the same value&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
