8#ifndef INCLUDED_BDLT_MONTHOFYEAR
9#define INCLUDED_BDLT_MONTHOFYEAR
109#include <bdlscm_version.h>
115#include <bsl_iosfwd.h>
153#ifndef BDE_OMIT_INTERNAL_DEPRECATED
155#if !defined(JAN) && !defined(JANUARY)
184#ifndef BDE_OPENSOURCE_PUBLICATION
195#ifndef BDE_OMIT_INTERNAL_DEPRECATED
200#ifndef BDE_OPENSOURCE_PUBLICATION
220 template <
class STREAM>
234 template <
class STREAM>
263 static bsl::ostream&
print(bsl::ostream& stream,
266 int spacesPerLevel = 4);
288#ifndef BDE_OPENSOURCE_PUBLICATION
327template <
class STREAM>
340template <
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)
BSLS_IDENT() - insert string into .comment binary segment (if supported)
Definition bsls_ident.h:238
Definition bdlt_dayofweek.h:423
STREAM & streamIn(STREAM &stream, bdlt::DayOfWeek::Enum &variable, int version)
Definition bdlt_dayofweek.h:427
Definition bdlt_dayofweek.h:436
STREAM & streamOut(STREAM &stream, const bdlt::DayOfWeek::Enum &value, int version)
Definition bdlt_dayofweek.h:440
Definition bdlt_dayofweek.h:449
int maxSupportedVersion(bdlt::DayOfWeek::Enum)
Definition bdlt_dayofweek.h:452
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:132
static int maxSupportedBdexVersion()
Definition bdlt_monthofyear.h:419
static const char * toAscii(MonthOfYear::Enum value)
Enum
Define the list of month-of-year values.
Definition bdlt_monthofyear.h:138
@ e_NOVEMBER
Definition bdlt_monthofyear.h:150
@ e_SEP
Definition bdlt_monthofyear.h:148
@ e_JANUARY
Definition bdlt_monthofyear.h:140
@ e_JUNE
Definition bdlt_monthofyear.h:145
@ e_MAY
Definition bdlt_monthofyear.h:144
@ e_MAR
Definition bdlt_monthofyear.h:142
@ e_JUL
Definition bdlt_monthofyear.h:146
@ BSLA_DEPRECATED
Definition bdlt_monthofyear.h:156
@ e_AUG
Definition bdlt_monthofyear.h:147
@ e_JAN
Definition bdlt_monthofyear.h:140
@ e_OCT
Definition bdlt_monthofyear.h:149
@ e_NOV
Definition bdlt_monthofyear.h:150
@ e_APRIL
Definition bdlt_monthofyear.h:143
@ e_OCTOBER
Definition bdlt_monthofyear.h:149
@ e_DECEMBER
Definition bdlt_monthofyear.h:151
@ e_MARCH
Definition bdlt_monthofyear.h:142
@ e_JUN
Definition bdlt_monthofyear.h:145
@ e_FEB
Definition bdlt_monthofyear.h:141
@ e_FEBRUARY
Definition bdlt_monthofyear.h:141
@ e_APR
Definition bdlt_monthofyear.h:143
@ e_SEPTEMBER
Definition bdlt_monthofyear.h:148
@ e_AUGUST
Definition bdlt_monthofyear.h:147
@ e_JULY
Definition bdlt_monthofyear.h:146
@ e_DEC
Definition bdlt_monthofyear.h:151
static STREAM & bdexStreamOut(STREAM &stream, MonthOfYear::Enum value, int version)
Definition bdlt_monthofyear.h:393
@ k_NUM_MONTHS
Definition bdlt_monthofyear.h:193
@ LENGTH
Definition bdlt_monthofyear.h:196
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:204