private void reset(Calendar calendar, List<Integer> fields) {
		for (int field : fields) {
			calendar.set(field, field == Calendar.DAY_OF_MONTH ? 1 : 0);
		}
	}
private void reset(Calendar calendar, List<Integer> fields) {
		for (int field : fields) {
			calendar.set(field, field == Calendar.DAY_OF_MONTH ? 1 : 0);
		}
	}
private void reset ( Calendar calendar , List < Integer > fields ) { for ( int field : fields ) { calendar . set ( field , field == Calendar . DAY_OF_MONTH ? 1 : 0 ) ; } }
Reset the calendar setting all the fields provided to zero.
Reset the calendar setting all the fields provided to zero .