[#BloombergLP-bdlt-MonthOfYear]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::MonthOfYear
:relfileprefix: ../../
:mrdocs:

This `struct` provides a namespace for enumerating month&hyphen;of&hyphen;year values&period; See `Enum` in the TYPES sub&hyphen;section for details&period;

== Synopsis

Declared in `&lt;bdlt&lowbar;monthofyear&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
struct MonthOfYear;
----

== Description

This `struct`&colon; &ast; supports a complete set of _enumeration_ operations For terminology see `bsldoc&lowbar;glossary`&period;

== Type Aliases

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bdlt/MonthOfYear/Month.adoc[`Month`] 
| Define an alias, `Month`, to the enum type, `Enum` defined by this component&period;
|===


== Enums

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bdlt/MonthOfYear/_04enum.adoc[`Unnamed enum`] 
| Define `k&lowbar;NUM&lowbar;MONTHS` to be the number of consecutively valued enumerators in the range `&lsqb; e&lowbar;JAN &period;&period; e&lowbar;DEC &rsqb;`&period;
| xref:BloombergLP/bdlt/MonthOfYear/Enum.adoc[`Enum`] 
| Define the list of month&hyphen;of&hyphen;year values&period;
|===


== Static Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bdlt/MonthOfYear/bdexStreamIn.adoc[`bdexStreamIn`] 
| Assign to `variable` the value read from `stream` using the BDEX protocol&period;
| xref:BloombergLP/bdlt/MonthOfYear/bdexStreamOut.adoc[`bdexStreamOut`] 
| Write `value` to `stream` using the specified BDEX `version` format&period;
| xref:BloombergLP/bdlt/MonthOfYear/maxSupportedBdexVersion-0b.adoc[`maxSupportedBdexVersion`] 
| `maxSupportedBdexVersion` overloads
| xref:BloombergLP/bdlt/MonthOfYear/print.adoc[`print`] 
| Write the string representation of the specified enumeration `value` to the specified output `stream`&period;
| xref:BloombergLP/bdlt/MonthOfYear/toAscii.adoc[`toAscii`] 
| Return the string representation of the specified enumeration `value`&period;
|===



[.small]#Created with https://www.mrdocs.com[MrDocs]#
