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

Return the first date _after_ the specified `date` that falls on the specified `dayOfWeek`&period; The behavior is undefined unless the resulting date is no later than 9999&sol;12&sol;31&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
xref:BloombergLP/bdlt/Date.adoc[Date]
nextDayOfWeek(
    xref:BloombergLP/bdlt/DayOfWeek/Enum.adoc[DayOfWeek::Enum] dayOfWeek,
    xref:BloombergLP/bdlt/Date.adoc[Date] const& date);
----


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