如何查找上一个(上一个)"星期五"的日期或指定日期的任何其他日期?
public getDateOnDay(Date date, String dayName) { // ? }
java calendar date
calendar ×1
date ×1
java ×1