8#ifndef INCLUDED_BALTZO_LOCALTIMEPERIOD
9#define INCLUDED_BALTZO_LOCALTIMEPERIOD
170#include <balscm_version.h>
191#include <bsl_iosfwd.h>
193#ifndef BDE_DONT_ALLOW_TRANSITIVE_INCLUDES
194#include <bsl_algorithm.h>
363 bsl::ostream&
print(bsl::ostream& stream,
365 int spacesPerLevel = 4)
const;
429: d_descriptor(allocator)
440: d_descriptor(descriptor, allocator)
441, d_utcStartTime(utcStartTime)
442, d_utcEndTime(utcEndTime)
450: d_descriptor(original.d_descriptor, allocator)
451, d_utcStartTime(original.d_utcStartTime)
452, d_utcEndTime(original.d_utcEndTime)
469: d_descriptor(
bslmf::MovableRefUtil::move(
470 bslmf::MovableRefUtil::access(original).d_descriptor),
472, d_utcStartTime(
bslmf::MovableRefUtil::access(original).d_utcStartTime)
473, d_utcEndTime(
bslmf::MovableRefUtil::access(original).d_utcEndTime)
487 d_descriptor = rhs.d_descriptor;
488 d_utcStartTime = rhs.d_utcStartTime;
489 d_utcEndTime = rhs.d_utcEndTime;
511 d_descriptor = value;
564 return d_utcStartTime;
573 return lhs.descriptor() == rhs.descriptor()
574 && lhs.utcStartTime() == rhs.utcStartTime()
575 && lhs.utcEndTime() == rhs.utcEndTime();
581 return lhs.descriptor() != rhs.descriptor()
582 || lhs.utcStartTime() != rhs.utcStartTime()
583 || lhs.utcEndTime() != rhs.utcEndTime();
588 const LocalTimePeriod&
object)
590 return object.
print(stream, 0, -1);
Definition baltzo_localtimedescriptor.h:189
const bsl::string & description() const
Definition baltzo_localtimedescriptor.h:542
Definition baltzo_localtimeperiod.h:211
~LocalTimePeriod()
Destroy this object.
Definition baltzo_localtimeperiod.h:478
LocalTimePeriod & operator=(const LocalTimePeriod &rhs)
Definition baltzo_localtimeperiod.h:485
bsl::ostream & print(bsl::ostream &stream, int level=0, int spacesPerLevel=4) const
void setDescriptor(const LocalTimeDescriptor &value)
Set the descriptor attribute to the specified value.
Definition baltzo_localtimeperiod.h:509
LocalTimePeriod()
Definition baltzo_localtimeperiod.h:420
BSLMF_NESTED_TRAIT_DECLARATION(LocalTimePeriod, bslmf::IsBitwiseMoveable)
const bdlt::Datetime & utcStartTime() const
Definition baltzo_localtimeperiod.h:562
void setUtcStartAndEndTime(const bdlt::Datetime &utcStartTime, const bdlt::Datetime &utcEndTime)
Definition baltzo_localtimeperiod.h:515
bslma::Allocator * allocator() const
Definition baltzo_localtimeperiod.h:538
const bdlt::Datetime & utcEndTime() const
Definition baltzo_localtimeperiod.h:556
bsl::allocator< char > allocator_type
Definition baltzo_localtimeperiod.h:223
static bool isValidUtcStartAndEndTime(const bdlt::Datetime &utcStartTime, const bdlt::Datetime &utcEndTime)
Definition baltzo_localtimeperiod.h:408
const LocalTimeDescriptor & descriptor() const
Definition baltzo_localtimeperiod.h:544
void swap(LocalTimePeriod &other)
Definition baltzo_localtimeperiod.h:525
allocator_type get_allocator() const
Definition baltzo_localtimeperiod.h:550
BSLMF_NESTED_TRAIT_DECLARATION(LocalTimePeriod, bslma::UsesBslmaAllocator)
Definition bdlt_datetime.h:331
bsl::ostream & print(bsl::ostream &stream, int level=0, int spacesPerLevel=4) const
Definition bslma_bslallocator.h:580
BloombergLP::bslma::Allocator * mechanism() const
Definition bslma_bslallocator.h:1126
allocator_type get_allocator() const BSLS_KEYWORD_NOEXCEPT
Return the allocator used by this string to supply memory.
Definition bslstl_string.h:6723
static void swap(T *a, T *b)
Definition bslalg_swaputil.h:194
Definition bslma_allocator.h:457
Definition bslmf_movableref.h:751
#define BSLS_ASSERT(X)
Definition bsls_assert.h:1804
#define BSLS_IDENT(str)
Definition bsls_ident.h:195
#define BSLS_KEYWORD_NOEXCEPT
Definition bsls_keyword.h:632
Definition baltzo_datafileloader.h:263
bool operator==(const LocalDatetime &lhs, const LocalDatetime &rhs)
bool operator!=(const LocalDatetime &lhs, const LocalDatetime &rhs)
bsl::ostream & operator<<(bsl::ostream &stream, DstPolicy::Enum value)
Definition bdlbb_blob.h:576
Definition bslma_usesbslmaallocator.h:343
Definition bslmf_isbitwisemoveable.h:718
static MovableRef< t_TYPE > move(t_TYPE &reference) BSLS_KEYWORD_NOEXCEPT
Definition bslmf_movableref.h:1060
static t_TYPE & access(t_TYPE &ref) BSLS_KEYWORD_NOEXCEPT
Definition bslmf_movableref.h:1032