Create a LocalDatetime object having the same value as the specified original object.
Declared in <baltzo_localdatetime.h>
LocalDatetime(
LocalDatetime const& original,
allocator_type const& allocator = allocator_type());
Optionally specify an allocator (e.g., the address of a bslma::Allocator object) to supply memory; otherwise, the default allocator is used.
| Name | Description |
|---|---|
| original | the object whose value is copied |
| allocator | the allocator used to supply memory |