code: public static final Function<String,Calendar> toCalendar(final String pattern, final Locale locale) {
          return new ToCalendar(pattern, locale);
      }
docs: <p>
  Converts the target String to a <tt>java.util.Calendar</tt> by applying the specified
  pattern and locale. The locale is needed for correctly parsing month names.
  </p>
  <p>
  Pattern format is that of <tt>java.text.SimpleDateFormat</tt>.
  </p>
  
  @param pattern the pattern to be used.
  @param locale the locale which will be used for parsing month names
  @return the resulting Calendar