public static Date parseDate(String dateString) throws ParseException {
    return LOCAL_FORMAT.get().parse(dateString);
  }
Parses the string to a date.
@param dateString The string format of a date, it's yyyymmdd.
@return A date.
hbase-server/src/main/java/org/apache/hadoop/hbase/mob/MobUtils.java