Return type | Name and parameters |
---|---|
MonthDay
|
leftShift(int dayOfMonth)
Creates a MonthDay at the provided day of the month. |
YearMonth
|
leftShift(Year year)
Creates a YearMonth at the provided Year. |
Month
|
minus(int months)
Returns the Month that is months months before this month.
|
Month
|
plus(int months)
Returns the Month that is months months after this month.
|
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
, 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
Creates a MonthDay at the provided day of the month.
dayOfMonth
- a day of the monthCreates a YearMonth at the provided Year.
year
- a YearReturns the Month that is months
months before this month.
months
- the number of months to move back