Return type | Name and parameters |
---|---|
Instant
|
minus(long seconds)
Returns an Instant that is seconds seconds before this instant.
|
Instant
|
next()
Returns an Instant that is one second after this instant. |
Instant
|
plus(long seconds)
Returns an Instant that is seconds seconds after this instant.
|
Instant
|
previous()
Returns an Instant that one second before this instant. |
Calendar
|
toCalendar()
Returns a generally equivalent Calendar in the GMT time zone, truncated to milliseconds. |
Date
|
toDate()
Returns a generally equivalent Date according the number of milliseconds since the epoch, adjusted into the system default time zone. |
addShutdownHook
, any
, any
, asBoolean
, asType
, collect
, collect
, collect
, dump
, each
, eachMatch
, eachMatch
, eachWithIndex
, every
, every
, find
, find
, findAll
, findAll
, findIndexOf
, findIndexOf
, findIndexValues
, findIndexValues
, findLastIndexOf
, findLastIndexOf
, findResult
, findResult
, getAt
, getMetaClass
, getMetaPropertyValues
, getProperties
, grep
, grep
, hasProperty
, identity
, inject
, inject
, inspect
, invokeMethod
, is
, isCase
, isNotCase
, iterator
, metaClass
, print
, print
, printf
, printf
, println
, println
, println
, putAt
, respondsTo
, respondsTo
, setMetaClass
, split
, sprintf
, sprintf
, stream
, tap
, toString
, use
, use
, use
, with
, with
, withCloseable
, withStream
, withTraits
Returns an Instant that is seconds
seconds before this instant.
seconds
- the number of seconds to subtractReturns an Instant that is one second after this instant.
Returns an Instant that is seconds
seconds after this instant.
seconds
- the number of seconds to addReturns an Instant that one second before this instant.
Returns a generally equivalent Calendar in the GMT time zone, truncated to milliseconds.