@Override
	public void set(int field, int value) {
		//Check value
		if(value > getMaximum(field) || value < getMinimum(field)){
			throw new IllegalArgumentException();
		}
		fields[field] = value;
		if(field == YEAR || field == MONTH || field == DATE)
			computeFields();
	}