8#ifndef INCLUDED_BDLT_DAYOFWEEK
9#define INCLUDED_BDLT_DAYOFWEEK
100#include <bdlscm_version.h>
102#include <bsl_ostream.h>
133#ifndef BDE_OMIT_INTERNAL_DEPRECATED
150#ifndef BDE_OPENSOURCE_PUBLICATION
161#ifndef BDE_OPENSOURCE_PUBLICATION
177 template <
class STREAM>
190 template <
class STREAM>
219 static bsl::ostream&
print(bsl::ostream& stream,
222 int spacesPerLevel = 4);
241#ifndef BDE_OPENSOURCE_PUBLICATION
277template <
class STREAM>
288template <
class STREAM>
313template <
class STREAM>
322 stream.getInt8(newValue);
323 if (stream && e_SUN <= newValue && e_SAT >= newValue) {
338template <
class STREAM>
346 stream.putInt8(
static_cast<char>(value));
362#ifndef BDE_OPENSOURCE_PUBLICATION
383template <
class STREAM>
391template <
class STREAM>
406#ifndef BDE_OPENSOURCE_PUBLICATION
412template <
class STREAM>
425template <
class STREAM>
#define BSLS_IDENT(str)
Definition bsls_ident.h:195
Definition bdlt_dayofweek.h:410
STREAM & streamIn(STREAM &stream, bdlt::DayOfWeek::Enum &variable, int version)
Definition bdlt_dayofweek.h:414
Definition bdlt_dayofweek.h:423
STREAM & streamOut(STREAM &stream, const bdlt::DayOfWeek::Enum &value, int version)
Definition bdlt_dayofweek.h:427
Definition bdlt_dayofweek.h:436
int maxSupportedVersion(bdlt::DayOfWeek::Enum)
Definition bdlt_dayofweek.h:439
Definition bbldc_basicisma30360.h:112
STREAM & bdexStreamOut(STREAM &stream, const DayOfWeek::Enum &value, int version)
int maxSupportedBdexVersion(const DayOfWeek::Enum *, int versionSelector)
STREAM & bdexStreamIn(STREAM &stream, DayOfWeek::Enum &variable, int version)
bsl::ostream & operator<<(bsl::ostream &stream, const Calendar &calendar)
Definition bdlt_dayofweek.h:117
Enum
Enumerated day-of-week values.
Definition bdlt_dayofweek.h:123
@ THURSDAY
Definition bdlt_dayofweek.h:145
@ e_MONDAY
Definition bdlt_dayofweek.h:126
@ e_SUN
Definition bdlt_dayofweek.h:125
@ e_FRI
Definition bdlt_dayofweek.h:130
@ SUN
Definition bdlt_dayofweek.h:134
@ BDET_THU
Definition bdlt_dayofweek.h:155
@ e_TUE
Definition bdlt_dayofweek.h:127
@ MON
Definition bdlt_dayofweek.h:135
@ BDET_SUN
Definition bdlt_dayofweek.h:151
@ BDET_MON
Definition bdlt_dayofweek.h:152
@ SAT
Definition bdlt_dayofweek.h:140
@ BDET_WED
Definition bdlt_dayofweek.h:154
@ TUESDAY
Definition bdlt_dayofweek.h:143
@ BDET_THURSDAY
Definition bdlt_dayofweek.h:155
@ BDET_TUE
Definition bdlt_dayofweek.h:153
@ TUE
Definition bdlt_dayofweek.h:136
@ e_FRIDAY
Definition bdlt_dayofweek.h:130
@ e_THURSDAY
Definition bdlt_dayofweek.h:129
@ e_WED
Definition bdlt_dayofweek.h:128
@ FRI
Definition bdlt_dayofweek.h:139
@ e_MON
Definition bdlt_dayofweek.h:126
@ BDET_MONDAY
Definition bdlt_dayofweek.h:152
@ BDET_SUNDAY
Definition bdlt_dayofweek.h:151
@ MONDAY
Definition bdlt_dayofweek.h:142
@ WEDNESDAY
Definition bdlt_dayofweek.h:144
@ SATURDAY
Definition bdlt_dayofweek.h:147
@ BDET_SATURDAY
Definition bdlt_dayofweek.h:157
@ e_WEDNESDAY
Definition bdlt_dayofweek.h:128
@ SUNDAY
Definition bdlt_dayofweek.h:141
@ e_SAT
Definition bdlt_dayofweek.h:131
@ e_THU
Definition bdlt_dayofweek.h:129
@ FRIDAY
Definition bdlt_dayofweek.h:146
@ BDET_FRI
Definition bdlt_dayofweek.h:156
@ e_SUNDAY
Definition bdlt_dayofweek.h:125
@ BDET_TUESDAY
Definition bdlt_dayofweek.h:153
@ WED
Definition bdlt_dayofweek.h:137
@ THU
Definition bdlt_dayofweek.h:138
@ BDET_FRIDAY
Definition bdlt_dayofweek.h:156
@ BDET_SAT
Definition bdlt_dayofweek.h:157
@ BDET_WEDNESDAY
Definition bdlt_dayofweek.h:154
@ e_SATURDAY
Definition bdlt_dayofweek.h:131
@ e_TUESDAY
Definition bdlt_dayofweek.h:127
static int maxSupportedBdexVersion()
Definition bdlt_dayofweek.h:365
static STREAM & bdexStreamIn(STREAM &stream, DayOfWeek::Enum &variable, int version)
Definition bdlt_dayofweek.h:314
static const char * toAscii(Enum dayOfWeek)
static bsl::ostream & print(bsl::ostream &stream, DayOfWeek::Enum value, int level=0, int spacesPerLevel=4)
static STREAM & bdexStreamOut(STREAM &stream, DayOfWeek::Enum value, int version)
Definition bdlt_dayofweek.h:339
Enum Day
Definition bdlt_dayofweek.h:162