get the last friday of a month in java

Solutions on MaxInterview for get the last friday of a month in java by the best coders in the world

showing results for - "get the last friday of a month in java"
Daniel
26 Sep 2017
1LocalDate now = LocalDate.now();
2
3LocalDate lastFriday = now.with(TemporalAdjusters.lastInMonth(DayOfWeek.FRIDAY));