public static Date parseTime(String dateStr){
  try {
    return mSimpleTimeFormat.parse(dateStr);
  }
 catch (  ParseException e) {
    e.printStackTrace();
    throw new RuntimeException("date formatDateTime error");
  }
}

public static Date parseTime ( String dateStr ) { try { return mSimpleTimeFormat . parse ( dateStr ) ; } catch ( ParseException e ) { e . printStackTrace ( ) ; throw new RuntimeException ( "date formatDateTime error" ) ; } }
parse string to time
