code: public static Date strToTime(String time) throws ParseException {
  
          java.text.SimpleDateFormat sdf = new java.text.SimpleDateFormat("yyyyMMdd:HH");
  
          java.util.Date d = sdf.parse(time);
  
          return d;
      }
docs: 返回指定字符串表示的时间，分，秒为0
  
  @param time :格式为yyyyMMdd:HH
  
  @return
  
  @throws ParseException
  @author zengyunfeng
  @version 1.1.0