public static void verifyValueBounds(DateTimeField field,int value,int lowerBound,int upperBound){
  if ((value < lowerBound) || (value > upperBound)) {
    throw new IllegalFieldValueException(field.getType(),Integer.valueOf(value),Integer.valueOf(lowerBound),Integer.valueOf(upperBound));
  }
}

public static void verifyValueBounds ( DateTimeField field , int value , int lowerBound , int upperBound ) { if ( ( value < lowerBound ) || ( value > upperBound ) ) { throw new IllegalFieldValueException ( field . getType ( ) , Integer . valueOf ( value ) , Integer . valueOf ( lowerBound ) , Integer . valueOf ( upperBound ) ) ; } }
verify that input values are within specified bounds .
