public static int getWeekend(String date){
		try {
			SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd",
					Locale.CHINESE);
			// 开始时间
			Calendar begin = Calendar.getInstance();
			begin.setTime(format.parse(date));
			Calendar now = Calendar.getInstance();
			// 如果输入的时间在当前时间之前
			if (begin.before(now)) {
				int day = getIntervalDaysOfExitDate(begin.getTime(),
						now.getTime());
				int weekdays = (int) (day / 7.0) + 1;
				//return "第" + d + "周";
				return weekdays;
			} else
			// 如果输入的时间在开始时间之后
			if (begin.after(now)) {
				int day = getIntervalDaysOfExitDate(now.getTime(),
						begin.getTime());
				int weekdays = (int) (day / 7.0);
				return (Integer) null;
			} else {
				return (Integer) null;
			}
		} catch (Exception e) {
			throw new RuntimeException(e);
		}

	}