class DbDateUtils {

  @SuppressWarnings("deprecation")
  public static Date toSqlDate(LocalDate date) {
    ArgumentChecker.notNull(date, "dateProvider");
    return new Date(date.getYear() - 1900, date.getMonthValue() - 1, date.getDayOfMonth());
  }

  protected  DbDateUtils();

}