class DateUtils {

    public static Date getLatest( Date... dates )
    {
        return Lists.newArrayList( dates ).stream()
            .filter( Objects::nonNull )
            .max( Date::compareTo ).orElse( null );
    }

}