In Java 8, what I found is
TemporalAdjuster temporal = dayOfWeekInMonth(1,DayOfWeek.MONDAY)
gives the temporal for the first Monday of a month, and
next(DayOfWeek.MONDAY)
gives the next Monday after a specific date.
But I want to find nth MONDAY after specific date.
For example, I want 2nd MONDAY after 2017-06-06 and it should be 2017-06-19 where
dayOfWeekInMonth(2,DayOfWeek.MONDAY)
will give me 2017-06-12 and
next(DayOfWeek.MONDAY)
has of course no parameter for the nth DayOfWeek's indicator. It will give the next first MONDAY which is 2017-06-12.
How I can calculate it without looping?