8#ifndef INCLUDED_BDLT_MONTHOFYEAR
9#define INCLUDED_BDLT_MONTHOFYEAR
109#include <bdlscm_version.h>
113#include <bsl_iosfwd.h>
149#ifndef BDE_OMIT_INTERNAL_DEPRECATED
151#if !defined(JAN) && !defined(JANUARY)
180#ifndef BDE_OPENSOURCE_PUBLICATION
201#ifndef BDE_OMIT_INTERNAL_DEPRECATED
204#ifndef BDE_OPENSOURCE_PUBLICATION
210#ifndef BDE_OPENSOURCE_PUBLICATION
229 template <
class STREAM>
242 template <
class STREAM>
270 static bsl::ostream&
print(bsl::ostream& stream,
273 int spacesPerLevel = 4);
294#ifndef BDE_OPENSOURCE_PUBLICATION
330template <
class STREAM>
341template <
class STREAM>
366template <
class STREAM>
375 stream.getInt8(newValue);
376 if (stream && e_JAN <= newValue && e_DEC >= newValue) {
391template <
class STREAM>
400 stream.putInt8(
static_cast<char>(value));
416#ifndef BDE_OPENSOURCE_PUBLICATION
437template <
class STREAM>
445template <
class STREAM>
460#ifndef BDE_OPENSOURCE_PUBLICATION
466template <
class STREAM>
479template <
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_monthofyear.h:128
static int maxSupportedBdexVersion()
Definition bdlt_monthofyear.h:419
static const char * toAscii(MonthOfYear::Enum value)
@ BDET_LENGTH
Definition bdlt_monthofyear.h:205
@ k_NUM_MONTHS
Definition bdlt_monthofyear.h:199
@ LENGTH
Definition bdlt_monthofyear.h:202
Enum
Define the list of month-of-year values.
Definition bdlt_monthofyear.h:134
@ OCTOBER
Definition bdlt_monthofyear.h:173
@ BDET_SEP
Definition bdlt_monthofyear.h:189
@ NOVEMBER
Definition bdlt_monthofyear.h:174
@ MAR
Definition bdlt_monthofyear.h:154
@ BDET_FEB
Definition bdlt_monthofyear.h:182
@ BDET_AUG
Definition bdlt_monthofyear.h:188
@ JUN
Definition bdlt_monthofyear.h:157
@ FEB
Definition bdlt_monthofyear.h:153
@ DEC
Definition bdlt_monthofyear.h:163
@ e_NOVEMBER
Definition bdlt_monthofyear.h:146
@ BDET_JUN
Definition bdlt_monthofyear.h:186
@ JAN
Definition bdlt_monthofyear.h:152
@ BDET_NOV
Definition bdlt_monthofyear.h:191
@ e_SEP
Definition bdlt_monthofyear.h:144
@ e_JANUARY
Definition bdlt_monthofyear.h:136
@ MAY
Definition bdlt_monthofyear.h:156
@ e_JUNE
Definition bdlt_monthofyear.h:141
@ BDET_DEC
Definition bdlt_monthofyear.h:192
@ OCT
Definition bdlt_monthofyear.h:161
@ e_MAY
Definition bdlt_monthofyear.h:140
@ BDET_MAR
Definition bdlt_monthofyear.h:183
@ BDET_DECEMBER
Definition bdlt_monthofyear.h:192
@ e_MAR
Definition bdlt_monthofyear.h:138
@ e_JUL
Definition bdlt_monthofyear.h:142
@ JUNE
Definition bdlt_monthofyear.h:169
@ e_AUG
Definition bdlt_monthofyear.h:143
@ BDET_JUL
Definition bdlt_monthofyear.h:187
@ APR
Definition bdlt_monthofyear.h:155
@ FEBRUARY
Definition bdlt_monthofyear.h:166
@ BDET_JAN
Definition bdlt_monthofyear.h:181
@ SEPTEMBER
Definition bdlt_monthofyear.h:172
@ e_JAN
Definition bdlt_monthofyear.h:136
@ BDET_OCTOBER
Definition bdlt_monthofyear.h:190
@ e_OCT
Definition bdlt_monthofyear.h:145
@ DECEMBER
Definition bdlt_monthofyear.h:175
@ BDET_APR
Definition bdlt_monthofyear.h:184
@ BDET_JULY
Definition bdlt_monthofyear.h:187
@ e_NOV
Definition bdlt_monthofyear.h:146
@ BDET_MAY
Definition bdlt_monthofyear.h:185
@ e_APRIL
Definition bdlt_monthofyear.h:139
@ BDET_JANUARY
Definition bdlt_monthofyear.h:181
@ JUL
Definition bdlt_monthofyear.h:158
@ e_OCTOBER
Definition bdlt_monthofyear.h:145
@ e_DECEMBER
Definition bdlt_monthofyear.h:147
@ e_MARCH
Definition bdlt_monthofyear.h:138
@ MARCH
Definition bdlt_monthofyear.h:167
@ BDET_AUGUST
Definition bdlt_monthofyear.h:188
@ APRIL
Definition bdlt_monthofyear.h:168
@ e_JUN
Definition bdlt_monthofyear.h:141
@ e_FEB
Definition bdlt_monthofyear.h:137
@ e_FEBRUARY
Definition bdlt_monthofyear.h:137
@ BDET_MARCH
Definition bdlt_monthofyear.h:183
@ AUG
Definition bdlt_monthofyear.h:159
@ e_APR
Definition bdlt_monthofyear.h:139
@ BDET_APRIL
Definition bdlt_monthofyear.h:184
@ AUGUST
Definition bdlt_monthofyear.h:171
@ BDET_NOVEMBER
Definition bdlt_monthofyear.h:191
@ JULY
Definition bdlt_monthofyear.h:170
@ SEP
Definition bdlt_monthofyear.h:160
@ JANUARY
Definition bdlt_monthofyear.h:165
@ e_SEPTEMBER
Definition bdlt_monthofyear.h:144
@ e_AUGUST
Definition bdlt_monthofyear.h:143
@ e_JULY
Definition bdlt_monthofyear.h:142
@ BDET_FEBRUARY
Definition bdlt_monthofyear.h:182
@ e_DEC
Definition bdlt_monthofyear.h:147
@ BDET_JUNE
Definition bdlt_monthofyear.h:186
@ NOV
Definition bdlt_monthofyear.h:162
@ BDET_OCT
Definition bdlt_monthofyear.h:190
@ BDET_SEPTEMBER
Definition bdlt_monthofyear.h:189
static STREAM & bdexStreamOut(STREAM &stream, MonthOfYear::Enum value, int version)
Definition bdlt_monthofyear.h:393
static STREAM & bdexStreamIn(STREAM &stream, MonthOfYear::Enum &variable, int version)
Definition bdlt_monthofyear.h:367
static bsl::ostream & print(bsl::ostream &stream, MonthOfYear::Enum value, int level=0, int spacesPerLevel=4)
Enum Month
Definition bdlt_monthofyear.h:214