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
Let Calendar.class do its magic for you ;)
pCal.set(GregorianCalendar.DAY_OF_WEEK,Calendar.FRIDAY); pCal.set(GregorianCalendar.DAY_OF_WEEK_IN_MONTH, -1);