code: public static OffsetDateTime parse(final OffsetDateTime type, CharSequence text, String pattern) {
          return OffsetDateTime.parse(text, DateTimeFormatter.ofPattern(pattern));
      }
docs: Parse text into an {@link java.time.OffsetDateTime} using the provided pattern.
  
  @param type    placeholder variable used by Groovy categories; ignored for default static methods
  @param text    String to be parsed to create the date instance
  @param pattern pattern used to parse the text
  @return an OffsetDateTime representing the parsed text
  @throws java.lang.IllegalArgumentException if the pattern is invalid
  @throws java.time.format.DateTimeParseException if the text cannot be parsed
  @see java.time.format.DateTimeFormatter
  @see java.time.OffsetDateTime#parse(java.lang.CharSequence, java.time.format.DateTimeFormatter)
  @since 2.5.0