public EasyDate endOf(int field) {
		switch (field) {
		case Calendar.YEAR:
			calendar.set(Calendar.MONTH, 11);
		case Calendar.MONTH:
			calendar.set(Calendar.DAY_OF_MONTH, calendar.getActualMaximum(Calendar.DAY_OF_MONTH));
		case Calendar.DAY_OF_MONTH:
			calendar.set(Calendar.HOUR_OF_DAY, 23);
		case Calendar.HOUR_OF_DAY:
			calendar.set(Calendar.MINUTE, 59);
		case Calendar.MINUTE:
			calendar.set(Calendar.SECOND, 59);
		case Calendar.SECOND:
			calendar.set(Calendar.MILLISECOND, 999);
			break;
		default:
			throw new IllegalArgumentException("无法识别的日期字段:" + field);
		}
		return this;
	}