public static DateTime parseRfc822(String str) throws ParseException {
  Date date;
synchronized (dateTimeFormat822) {
    try {
      date=dateTimeFormat822.parse(str);
    }
 catch (    java.text.ParseException e) {
      throw new ParseException(e);
    }
  }
  return new DateTime(date);
}

public static DateTime parseRfc822 ( String str ) throws ParseException { Date date ; synchronized ( dateTimeFormat822 ) { try { date = dateTimeFormat822 . parse ( str ) ; } catch ( java . text . ParseException e ) { throw new ParseException ( e ) ; } } return new DateTime ( date ) ; }
parses the value as an rfc 822 date / time .
