Skip to content

Commit

Permalink
javafmt
Browse files Browse the repository at this point in the history
  • Loading branch information
radeusgd committed Apr 18, 2023
1 parent 5556b6a commit e83e7b7
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,14 @@ public static void setZonedDateTime(
}

/** Sets a LocalTime in a PreparedStatement. */
public static void setLocalTime(PreparedStatement stmt, int columnIndex, LocalTime localTime) throws SQLException {
public static void setLocalTime(PreparedStatement stmt, int columnIndex, LocalTime localTime)
throws SQLException {
stmt.setObject(columnIndex, localTime, Types.TIME);
}

/** Sets a LocalDate in a PreparedStatement. */
public static void setLocalDate(PreparedStatement stmt, int columnIndex, LocalDate localDate) throws SQLException {
public static void setLocalDate(PreparedStatement stmt, int columnIndex, LocalDate localDate)
throws SQLException {
stmt.setObject(columnIndex, localDate, Types.DATE);
}
}

0 comments on commit e83e7b7

Please sign in to comment.