code: private static Date bestGuessVoteDate(final BallotContainer ballotContainer) throws ParseException {
  		final com.hack23.cia.model.external.riksdagen.votering.impl.BallotDocumentElement ballotDocumentElement = ballotContainer.getBallotDocumentElement();
  		Date result;
  
  		final String createdDate=ballotContainer.getBallotDocumentElement().getCreatedDate();
  
  		if(createdDate!= null && createdDate.length()>= YYYY_MM_DD.length()) {
  			result=new SimpleDateFormat(YYYY_MM_DD,Locale.ENGLISH).parse(createdDate);
  		} else {
  			final String systemDate = ballotDocumentElement.getSystemDate();
  
  			if(systemDate!= null && systemDate.length()>= YYYY_MM_DD.length()) {
  				result=new SimpleDateFormat(YYYY_MM_DD,Locale.ENGLISH).parse(systemDate);
  			} else {
  				result=new SimpleDateFormat(YYYY_MM_DD,Locale.ENGLISH).parse(ballotDocumentElement.getMadePublicDate());
  			}
  		}
  		return result;
  	}
docs: Best guess vote date.
  
  @param ballotContainer
  the ballot container
  @return the date
  @throws ParseException
  the parse exception