service.external.riksdagen/src/main/java/com/hack23/cia/service/external/riksdagen/impl/RiksdagenDateUtil.java
public Date tryToFindValidVoteDate(final BallotContainer ballotContainer, final List<VoteDataDto> voteDataList)
					throws ParseException {
		Date ballotDate;
		final Date sameDate = checkSameDate(voteDataList);

		if (sameDate != null) {
			ballotDate = sameDate;
		} else {
			ballotDate = bestGuessVoteDate(ballotContainer);
		}
		return ballotDate;
	}
public Date tryToFindValidVoteDate(final BallotContainer ballotContainer, final List<VoteDataDto> voteDataList)
					throws ParseException {
		Date ballotDate;
		final Date sameDate = checkSameDate(voteDataList);

		if (sameDate != null) {
			ballotDate = sameDate;
		} else {
			ballotDate = bestGuessVoteDate(ballotContainer);
		}
		return ballotDate;
	}
public Date tryToFindValidVoteDate ( final BallotContainer ballotContainer , final List < VoteDataDto > voteDataList ) throws ParseException { Date ballotDate ; final Date sameDate = checkSameDate ( voteDataList ) ; if ( sameDate != null ) { ballotDate = sameDate ; } else { ballotDate = bestGuessVoteDate ( ballotContainer ) ; } return ballotDate ; }
Try to find valid vote date.

@param ballotContainer
the ballot container
@param voteDataList
the vote data list
@return the date
@throws ParseException
the parse exception
Try to find valid vote date .