code: public static Date[] getSeasonDate(Date date) {
          Date[] season = new Date[3];
          Calendar c = Calendar.getInstance();
          c.setTime(date);
          int nSeason = getQuarter(date);
          if (nSeason == 1) {// 第一季度
              c.set(Calendar.MONTH, Calendar.JANUARY);
              season[0] = c.getTime();
              c.set(Calendar.MONTH, Calendar.FEBRUARY);
              season[1] = c.getTime();
              c.set(Calendar.MONTH, Calendar.MARCH);
              season[2] = c.getTime();
          } else if (nSeason == 2) {// 第二季度
              c.set(Calendar.MONTH, Calendar.APRIL);
              season[0] = c.getTime();
              c.set(Calendar.MONTH, Calendar.MAY);
              season[1] = c.getTime();
              c.set(Calendar.MONTH, Calendar.JUNE);
              season[2] = c.getTime();
          } else if (nSeason == 3) {// 第三季度
              c.set(Calendar.MONTH, Calendar.JULY);
              season[0] = c.getTime();
              c.set(Calendar.MONTH, Calendar.AUGUST);
              season[1] = c.getTime();
              c.set(Calendar.MONTH, Calendar.SEPTEMBER);
              season[2] = c.getTime();
          } else if (nSeason == 4) {// 第四季度
              c.set(Calendar.MONTH, Calendar.OCTOBER);
              season[0] = c.getTime();
              c.set(Calendar.MONTH, Calendar.NOVEMBER);
              season[1] = c.getTime();
              c.set(Calendar.MONTH, Calendar.DECEMBER);
              season[2] = c.getTime();
          }
          return season;
      }
docs: 根据输入的日期，以数组的方式返回当前日期所在年的季度下的年月
  @param date 日期型
  @return 返回数组，数组里包含当前季度的3个月份