daysToDayOfWeek

fnint daysToDayOfWeek(DayOfWeek currDoW, DayOfWeek dow) @safe pure nothrow @nogc

Returns the number of days from the current day of the week to the given day of the week. If they are the same, then the result is 0.

Parameters

currDoWThe current day of the week.
dowThe day of the week to get the number of days to.