[#BloombergLP-baltzo-LocalDatetime] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/baltzo.adoc[baltzo]::LocalDatetime :relfileprefix: ../../ :mrdocs: This unconstrained (value‐semantic) attribute class characterizes a date‐time with UTC offset and a time‐zone identifier. == Synopsis Declared in `<baltzo_localdatetime.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- class LocalDatetime; ---- == Description See the section for information on the class attributes. == Type Aliases [cols="1,4"] |=== | Name| Description | xref:BloombergLP/baltzo/LocalDatetime/allocator_type.adoc[`allocator_type`] | Allocator type used by this class. |=== == Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/baltzo/LocalDatetime/2constructor-06d.adoc[`LocalDatetime`] [.small]#[constructor]# | Constructors | xref:BloombergLP/baltzo/LocalDatetime/2destructor.adoc[`~LocalDatetime`] [.small]#[destructor]# | Destroy this object. | xref:BloombergLP/baltzo/LocalDatetime/operator_assign-01.adoc[`operator=`] | Assignment operators | xref:BloombergLP/baltzo/LocalDatetime/allocator.adoc[`allocator`] | Return `get_allocator().mechanism()`. | xref:BloombergLP/baltzo/LocalDatetime/bdexStreamIn.adoc[`bdexStreamIn`] | Assign to this object the value read from the specified input `stream` using the specified `version` format, and return a reference to `stream`. | xref:BloombergLP/baltzo/LocalDatetime/bdexStreamOut.adoc[`bdexStreamOut`] | Write this object to the specified output `stream`. | xref:BloombergLP/baltzo/LocalDatetime/datetimeTz.adoc[`datetimeTz`] | Return a reference providing non‐modifiable access to the `datetimeTz` attribute of this object. | xref:BloombergLP/baltzo/LocalDatetime/get_allocator.adoc[`get_allocator`] | Return the allocator used by this object to supply memory. | xref:BloombergLP/baltzo/LocalDatetime/print.adoc[`print`] | Write the value of this object to the specified output `stream`. | xref:BloombergLP/baltzo/LocalDatetime/setDatetimeTz.adoc[`setDatetimeTz`] | Set the `datetimeTz` attribute of this object to the specified `value`. | xref:BloombergLP/baltzo/LocalDatetime/setTimeZoneId-0d.adoc[`setTimeZoneId`] | Set the `timeZoneId` attribute of this object to the specified `value`. If `value` is null, it is treated as an empty string. | xref:BloombergLP/baltzo/LocalDatetime/swap.adoc[`swap`] | Efficiently exchange the value of this object with the value of the specified `other` object. | xref:BloombergLP/baltzo/LocalDatetime/timeZoneId.adoc[`timeZoneId`] | Return a reference providing non‐modifiable access to the `timeZoneId` attribute of this object. | xref:BloombergLP/baltzo/LocalDatetime/2conversion.adoc[`operator BloombergLP::bslmf::NestedTraitDeclaration<LocalDatetime, IsBitwiseMoveable>`] | Nested trait declaration for `bslma::UsesBslmaAllocator`. |=== == Static Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/baltzo/LocalDatetime/maxSupportedBdexVersion-08.adoc[`maxSupportedBdexVersion`] | `maxSupportedBdexVersion` overloads |=== == Friends [cols="1,4"] |=== | Name| Description | `xref:BloombergLP/baltzo/swap-02.adoc[BloombergLP::baltzo::swap]` | Exchange the values of the specified `a` and `b` objects. |=== == Non-Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/baltzo/operator_not_eq-04f.adoc[`operator!=`] | Return `true` if the specified `lhs` and `rhs` objects do not have the same value, and `false` otherwise. | xref:BloombergLP/baltzo/operator_eq-04.adoc[`operator==`] | Return `true` if the specified `lhs` and `rhs` objects have the same value, and `false` otherwise. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#