public static void add(Calendar c,int val,String unit){
  Integer uu=CALENDAR_UNITS.get(unit);
  if (null == uu) {
    throw new IllegalArgumentException("Adding Unit not recognized: " + unit);
  }
  c.add(uu.intValue(),val);
}

public static void add ( Calendar c , int val , String unit ) { Integer uu = CALENDAR_UNITS . get ( unit ) ; if ( null == uu ) { throw new IllegalArgumentException ( "Adding Unit not recognized: " + unit ) ; } c . add ( uu . intValue ( ) , val ) ; }
modifies the specified calendar by " adding " the specified value of units
