BloombergLP::baltzo::LocalTimePeriod

This complex-constrained (value-semantic) attribute class describes a range of time in which a particular local time description is in effect.

Synopsis

Declared in <baltzo_localtimeperiod.h>

class LocalTimePeriod;

Description

See the section for information on the class attributes. Note that the class invariants are identically the constraints on the attributes.

Type Aliases

NameDescription
allocator_type Allocator type used by this class.

Member Functions

NameDescription
LocalTimePeriod [constructor]Constructors
~LocalTimePeriod [destructor]Destroy this object.
operator= Assignment operators
allocator Return get_allocator().mechanism().
descriptor Return a reference providing non-modifiable access to the descriptor attribute of this object.
get_allocator Return the allocator used by this object to supply memory.
print Write the value of this object to the specified output stream.
setDescriptor Set the descriptor attribute to the specified value.
setUtcStartAndEndTime Use the specified utcStartTime and utcEndTime to set the corresponding attributes of this object.
swap Efficiently exchange the value of this object with the value of the specified other object.
utcEndTime Return a reference providing non-modifiable access to the utcEndTime attribute of this object.
utcStartTime Return a reference providing non-modifiable access to the utcStartTime attribute of this object.
operator BloombergLP::bslmf::NestedTraitDeclaration<LocalTimePeriod, IsBitwiseMoveable> Nested trait declaration for bslma::UsesBslmaAllocator.

Static Member Functions

NameDescription
isValidUtcStartAndEndTime Return true if utcStartTime and utcEndTime form a valid range.

Non-Member Functions

NameDescription
operator!=Return true if the specified lhs and rhs objects do not have the same value, and false otherwise.
operator==Return true if the specified lhs and rhs objects have the same value, and false otherwise.
swapExchange the values of the specified a and b objects.