private void setCalendar(Date date, boolean show) {
		Calendar temp = Calendar.getInstance();
		temp.setTime(date);
		if (show) {
			calendar.set(temp.get(Calendar.YEAR), temp.get(Calendar.MONTH),
					temp.get(Calendar.DAY_OF_MONTH),
					temp.get(Calendar.HOUR_OF_DAY), temp.get(Calendar.MINUTE),
					temp.get(Calendar.SECOND));
		} else { // ʱ֡
			calendar.set(temp.get(Calendar.YEAR), temp.get(Calendar.MONTH),
					temp.get(Calendar.DAY_OF_MONTH), 0, 0, 0);
		}

	}