I am working on a project where the requirement is to have a date calculated as being the last Friday of a given month. I think I have a solution that only uses standard Ja
In Java 8, we can do it simply as:
LocalDate lastFridayOfMonth = LocalDate .now() .with(lastDayOfMonth()) .with(previous(DayOfWeek.FRIDAY));