[This is preliminary documentation and is subject to change.]
Returns the next LocalDate falling on the specified IsoDayOfWeek.
This is a strict "next" - if this date on already falls on the target
day of the week, the returned value will be a week later.

C# | Visual Basic | Visual C++ |
public LocalDate Next( IsoDayOfWeek targetDayOfWeek )
Public Function Next ( _ targetDayOfWeek As IsoDayOfWeek _ ) As LocalDate
public: LocalDate Next( IsoDayOfWeek targetDayOfWeek )

- targetDayOfWeek (IsoDayOfWeek)
- The ISO day of the week to return the next date of.

The next LocalDate falling on the specified day of the week.

Exception | Condition |
---|---|
InvalidOperationException | The underlying calendar doesn't use ISO days of the week. |
ArgumentOutOfRangeException | targetDayOfWeek is not a valid day of the
week (Monday to Sunday). |
Assembly: NodaTime (Module: NodaTime.dll) Version: 1.2.0.0 (1.2.0)