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
, 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
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.