[#BloombergLP-bdlt-DatetimeInterval-maxSupportedBdexVersion-05]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::xref:BloombergLP/bdlt/DatetimeInterval.adoc[DatetimeInterval]::maxSupportedBdexVersion
:relfileprefix: ../../../
:mrdocs:

`maxSupportedBdexVersion` overloads

== Synopses

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

Return the most current BDEX streaming version number supported by this class&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
int
xref:BloombergLP/bdlt/DatetimeInterval/maxSupportedBdexVersion-00.adoc[maxSupportedBdexVersion]();
----

[.small]#xref:BloombergLP/bdlt/DatetimeInterval/maxSupportedBdexVersion-00.adoc[_» more&period;&period;&period;_]#

Return the maximum valid BDEX format version, as indicated by the specified `versionSelector`, to be passed to the `bdexStreamOut` method&period; Note that it is highly recommended that `versionSelector` be formatted as &quot;YYYYMMDD&quot;, a date representation&period; Also note that `versionSelector` should be a _compile_&hyphen;time&hyphen;chosen value that selects a format version supported by both externalizer and unexternalizer&period; See the `bslx` package&hyphen;level documentation for more information on BDEX streaming of value&hyphen;semantic types and containers&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
int
xref:BloombergLP/bdlt/DatetimeInterval/maxSupportedBdexVersion-04.adoc[maxSupportedBdexVersion](int versionSelector);
----

[.small]#xref:BloombergLP/bdlt/DatetimeInterval/maxSupportedBdexVersion-04.adoc[_» more&period;&period;&period;_]#


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