src/main/java/com/blockscore/models/Candidate.java
@NotNull
  public Candidate setDateOfBirth(@Nullable final Date dateOfBirth) {
    if (dateOfBirth == null) {
      this.dateOfBirth = null;
      return this;
    }

    this.dateOfBirth = new Date(dateOfBirth.getTime());
    return this;
  }
@NotNull
  public Candidate setDateOfBirth(@Nullable final Date dateOfBirth) {
    if (dateOfBirth == null) {
      this.dateOfBirth = null;
      return this;
    }

    this.dateOfBirth = new Date(dateOfBirth.getTime());
    return this;
  }
Set the date of birth of your candidate.

@param dateOfBirth  the date of birth
@return this