[#BloombergLP-bdlt-DateUtil-nextDayOfWeek] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::xref:BloombergLP/bdlt/DateUtil.adoc[DateUtil]::nextDayOfWeek :relfileprefix: ../../../ :mrdocs: Return the next occurrence of `dayOfWeek` after `date`. == Synopsis Declared in `<bdlt_dateutil.h>` [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); ---- == Description Return the first date _after_ the specified `date` that falls on the specified `dayOfWeek`. The behavior is undefined unless the resulting date is no later than 9999/12/31. == Return Value next matching date == Parameters [cols="1,4"] |=== | Name| Description | *dayOfWeek* | desired day of week | *date* | exclusive lower bound date |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#