Package: java.sql

## Class Timestamp

- - ### Methods Summary

    Methods
    Return type | Name and parameters
    --- | ---
    `Timestamp` | `minus(int days)` Subtract a number of days from this Timestamp and returns the new Timestamp object.
    `Timestamp` | `plus(int days)` Add number of days to this Timestamp and returns the new Timestamp object.

  - #### 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 Timestamp minus(int days)

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

      Parameters:
        `days` - the number of days to subtract
      Returns:
        the new Timestamp

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

      Add number of days to this Timestamp and returns the new Timestamp object.

      Parameters:
        `days` - the number of days to increase
      Returns:
        the new Timestamp