Package: java.sql

## Class Date

- - ### Methods Summary

    Methods
    Return type | Name and parameters
    --- | ---
    `Date` | `clearTime()` Clears the time portion of this java.sql.Date instance; useful utility where it makes sense to compare month/day/year only portions of a Date.
    `Date` | `minus(int days)` Subtract a number of days from this date and returns the new date.
    `Date` | `next()` Increment a java.sql.Date by one day.
    `Date` | `plus(int days)` Add a number of days to this date and returns the new date.
    `Date` | `previous()` Decrement a java.sql.Date by one day.

  - #### Methods inherited from class java.util.Date

    `clearTime`, `copyWith`, `downto`, `format`, `format`, `getAt`, `getDateString`, `getDateTimeString`, `getTimeString`, `getZoneId`, `getZoneOffset`, `minus`, `minus`, `next`, `plus`, `previous`, `putAt`, `set`, `toCalendar`, `toDayOfWeek`, `toLocalDate`, `toLocalDateTime`, `toLocalTime`, `toMonth`, `toMonthDay`, `toOffsetDateTime`, `toOffsetTime`, `toTimestamp`, `toYear`, `toYearMonth`, `toZonedDateTime`, `updated`, `upto`

  - #### Methods inherited from class java.lang.Object

    `addShutdownHook`, `any`, `any`, `asBoolean`, `asType`, `collect`, `collect`, `collect`, `contains`, `count`, `dump`, `each`, `eachWithIndex`, `equals`, `every`, `every`, `find`, `find`, `findAll`, `findAll`, `findIndexOf`, `findIndexOf`, `findIndexValues`, `findIndexValues`, `findLastIndexOf`, `findLastIndexOf`, `findResult`, `findResult`, `flatten`, `getAt`, `getMetaClass`, `getMetaPropertyValues`, `getProperties`, `grep`, `grep`, `groupBy`, `groupBy`, `hasProperty`, `identity`, `inject`, `inject`, `inspect`, `invokeMethod`, `is`, `isCase`, `iterator`, `join`, `metaClass`, `print`, `print`, `printf`, `printf`, `println`, `println`, `println`, `putAt`, `respondsTo`, `respondsTo`, `setMetaClass`, `size`, `split`, `sprintf`, `sprintf`, `sum`, `sum`, `tap`, `toArrayString`, `toSpreadMap`, `toString`, `use`, `use`, `use`, `with`, `with`, `withTraits`

- - ### Methods Detail

    - #### public Date clearTime()

      Clears the time portion of this java.sql.Date instance; useful utility where it makes sense to compare month/day/year only portions of a Date.

      Returns:
        the java.sql.Date but with the time portion cleared
      Since:
        1.6.7

    - #### public Date minus(int days)

      Subtract a number of days from this date and returns the new date.

      Parameters:
        `days` - the number of days to subtract
      Returns:
        the new date
      Since:
        1.0

    - #### public Date next()

      Increment a java.sql.Date by one day.

      Returns:
        the next days date
      Since:
        1.0

    - #### public Date plus(int days)

      Add a number of days to this date and returns the new date.

      Parameters:
        `days` - the number of days to increase
      Returns:
        the new date
      Since:
        1.0

    - #### public Date previous()

      Decrement a java.sql.Date by one day.

      Returns:
        the previous days date
      Since:
        1.0