Concrete test implementation of the Loader protocol for Zoneinfo.
This class provides a concrete test implementation of the Loader protocol (an abstract interface) for obtaining a time zone. This test implementation maintains a mapping of time-zone identifiers to Zoneinfo objects. Time zone information objects are associated with a time-zone identifier using the setTimeZone method, and can be subsequently accessed by calling the protocol method loadTimeZone with the same identifier.
| Name | Description |
|---|---|
Loader | This class provides a protocol (a pure abstract interface) for loading a time zone object. |
| Name | Description |
|---|---|
allocator_type | Allocator type used by this class. |
| Name | Description |
|---|---|
TestLoader [constructor] | Constructors |
~TestLoader [destructor] [virtual] | Destroy this TestLoader object; |
get_allocator | Return the allocator used by this object to supply memory. |
loadTimeZone [virtual] | Load time zone information for the specified timeZoneId. |
print | Write this object's time zones to the specified output stream. |
setTimeZone | setTimeZone overloads |
operator BloombergLP::bslmf::NestedTraitDeclaration<TestLoader, UsesBslmaAllocator> | Nested trait declaration for bslma::UsesBslmaAllocator. |