* @param formatter the formatter to use, not null
   * @return the parsed offset date-time, not null
   * @throws DateTimeParseException if the text cannot be parsed
   */
  public static OffsetDateTime parse(CharSequence text, DateTimeFormatter formatter) {

    Jdk7Methods.Objects_requireNonNull(formatter, "formatter");
    return formatter.parse(text, OffsetDateTime.class);
  }