code: public static DateTime rfc2822DateTimeFromString(String dateTimeString) {
          try {
              return DateTime.parse(dateTimeString, RFC2822_DATE_TIME_FORMATTER);
          } catch (Exception e) {
              return null;
          }
      }
docs: Parse a @see org.joda.time.DateTime from a String.
  
  @param dateTimeString timestamp to parse
  @return parsed @see org.joda.time.DateTime if parseable, null otherwise