class DbDateUtils {

  @SuppressWarnings("deprecation")
  public static LocalDateTime fromSqlDateTime(Timestamp timestamp) {
    ArgumentChecker.notNull(timestamp, "timestamp");
    return LocalDateTime.of(
        timestamp.getYear() + 1900, timestamp.getMonth() + 1, timestamp.getDate(),
        timestamp.getHours(), timestamp.getMinutes(), timestamp.getSeconds(), timestamp.getNanos());
  }

  protected  DbDateUtils();

}