code: public static Integer getDayOfSeason(Date date) {
  
          if (date == null)
              return null;
  
          int day = 0;
          Date[] seasonDates = getSeasonDate(date);
          Calendar c = Calendar.getInstance();
          c.setTime(date);
          int month = c.get(Calendar.MONTH);
          if (month == Calendar.JANUARY || month == Calendar.APRIL || month == Calendar.JULY || month == Calendar.OCTOBER) {// 季度第一个月
              day = getDayOfMonth(seasonDates[0]);
          } else if (month == Calendar.FEBRUARY || month == Calendar.MAY || month == Calendar.AUGUST || month == Calendar.NOVEMBER) {// 季度第二个月
              day = getDayOfMonth(seasonDates[0])	+ getDayOfMonth(seasonDates[1]);
          } else if (month == Calendar.MARCH || month == Calendar.JUNE || month == Calendar.SEPTEMBER || month == Calendar.DECEMBER) {// 季度第三个月
              day = getDayOfMonth(seasonDates[0]) + getDayOfMonth(seasonDates[1])	+ getDayOfMonth(seasonDates[2]);
          }
          return day;
      }
docs: 获取季度已过的天数
  @param date 时间({@link Date})
  @return 天数，如果date is null，将返回null