@SuppressWarnings("unused")
  public static Date fromRfcDateTime(final String val) throws BadDateException {
    try {
      return fromRfcDateTime(val, Timezones.getDefaultTz());
    } catch (BadDateException bde) {
      throw bde;
    } catch (Throwable t) {
      throw new BadDateException();
    }
  }
@ SuppressWarnings ( "unused" ) public static Date fromRfcDateTime ( final String val ) throws BadDateException { try { return fromRfcDateTime ( val , Timezones . getDefaultTz ( ) ) ; } catch ( BadDateException bde ) { throw bde ; } catch ( Throwable t ) { throw new BadDateException ( ) ; } }
Get Date from "yyyy-MM-ddThh:mm:ss"

@param val String "yyyy-MM-ddThh:mm:ss"
@return Date
@throws BadDateException on format error