code: public static Date getEndOfWeek(Date date) {
  
          if (date == null)
              return null;
  
          Calendar calendar = Calendar.getInstance();
          calendar.setTime(date);
          calendar.setFirstDayOfWeek(FIRST_DAY_OF_WEEK);
          calendar.set(Calendar.DAY_OF_WEEK, Calendar.SATURDAY);
  
          return calendar.getTime();
      }
docs: 获取日期所在周的结束时间（约定为周六）
  @param date 时间({@link Date})
  @return 时间({@link java.util.Date})