code: private static int tryParseMonth(String month, Locale locale) {
  		Map<String, Integer> names = getMonthNames(locale);
  		Integer r = names.get(month.toUpperCase());
  		if (r != null) {
  			return r;
  		}
  		return -1;
  	}
docs: Tries to parse the given month string using the month names
  of the given locale
  @param month the month string
  @param locale the locale
  @return the month's number (<code>1-12</code>) or <code>-1</code> if
  the string could not be parsed