@@ -519,7 +519,7 @@ public BoundStatement setTimestamp(String name, Date v) {
519519 }
520520
521521 /**
522- * Set the {@code i}th value to the provided date as an int in days since epoch .
522+ * Set the {@code i}th value to the provided date.
523523 *
524524 * @param i the index of the value to set.
525525 * @param v the value to set.
@@ -528,13 +528,13 @@ public BoundStatement setTimestamp(String name, Date v) {
528528 * @throws IndexOutOfBoundsException if {@code i} is not a valid index for this object.
529529 * @throws InvalidTypeException if value {@code i} is not of type DATE.
530530 */
531- public BoundStatement setDateWithoutTime (int i , DateWithoutTime v ) {
532- return wrapper .setDateWithoutTime (i , v );
531+ public BoundStatement setDate (int i , DateWithoutTime v ) {
532+ return wrapper .setDate (i , v );
533533 }
534534
535535 /**
536536 * Sets the value for (all occurrences of) variable {@code name} to the
537- * provided date as an int in days since epoch .
537+ * provided date.
538538 *
539539 * @param name the name of the value to set; if {@code name} is present multiple
540540 * times, all its values are set.
@@ -545,8 +545,8 @@ public BoundStatement setDateWithoutTime(int i, DateWithoutTime v) {
545545 * @throws InvalidTypeException if (any occurrence of) {@code name} is
546546 * not of type DATE.
547547 */
548- public BoundStatement setDateWithoutTime (String name , DateWithoutTime v ) {
549- return wrapper .setDateWithoutTime (name , v );
548+ public BoundStatement setDate (String name , DateWithoutTime v ) {
549+ return wrapper .setDate (name , v );
550550 }
551551
552552 /**
@@ -1281,21 +1281,6 @@ public long getLong(String name) {
12811281 return wrapper .getLong (name );
12821282 }
12831283
1284- /**
1285- * {@inheritDoc}
1286- */
1287- @ Deprecated
1288- public Date getDate (int i ) {
1289- return wrapper .getTimestamp (i );
1290- }
1291-
1292- /**
1293- * {@inheritDoc}
1294- */
1295- public Date getDate (String name ) {
1296- return wrapper .getTimestamp (name );
1297- }
1298-
12991284 /**
13001285 * {@inheritDoc}
13011286 */
@@ -1313,15 +1298,15 @@ public Date getTimestamp(String name) {
13131298 /**
13141299 * {@inheritDoc}
13151300 */
1316- public DateWithoutTime getDateWithoutTime (int i ) {
1317- return wrapper .getDateWithoutTime (i );
1301+ public DateWithoutTime getDate (int i ) {
1302+ return wrapper .getDate (i );
13181303 }
13191304
13201305 /**
13211306 * {@inheritDoc}
13221307 */
1323- public DateWithoutTime getDateWithoutTime (String name ) {
1324- return wrapper .getDateWithoutTime (name );
1308+ public DateWithoutTime getDate (String name ) {
1309+ return wrapper .getDate (name );
13251310 }
13261311
13271312 /**
0 commit comments