随笔分类 -  util

摘要://获取这一年的日历 private static Calendar getCalendarFormYear(int year){ Calendar cal = Calendar.getInstance(); cal.set(Calendar.DAY_OF_WEEK, Calendar.MONDAY 阅读全文
posted @ 2021-09-17 11:20 百鬼&夜行 阅读(111) 评论(0) 推荐(0)
摘要://获取某一年的某一周的周日日期public static Date getEndDayOfWeekNo(int year, int weekNo) throws ParseException { Calendar cal = getCalendarFormYear(year); cal.set(C 阅读全文
posted @ 2021-09-17 11:15 百鬼&夜行 阅读(128) 评论(0) 推荐(0)