code: private static Date getDate(final String date) throws ParseException {
  		if (RIKSDAGEN_JAVA_SIMPLE_DATE_FORMAT.length() > date.length()) {
  			return new SimpleDateFormat(RIKSDAGEN_JAVA_SIMPLE_DATE_TIME_FORMAT, Locale.ENGLISH).parse(date);
  		} else {
  			return new SimpleDateFormat(RIKSDAGEN_JAVA_SIMPLE_DATE_FORMAT, Locale.ENGLISH).parse(date);
  		}
  	}
docs: Gets the date.
  
  @param date
  the date
  @return the date
  @throws ParseException
  the parse exception