code: private static Date parse(String dateStr, DateParser parser) {
  		Assert.notNull(parser, "Parser or DateFromat must be not null !");
  		Assert.notBlank(dateStr, "Date String must be not blank !");
  		try {
  			return parser.parse(dateStr);
  		} catch (Exception e) {
  			throw new DateException("Parse [{}] with format [{}] error!", dateStr, parser.getPattern(), e);
  		}
  	}
docs: 转换字符串为Date
  
  @param dateStr 日期字符串
  @param parser {@link FastDateFormat}
  @return {@link Date}