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
, average
, 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
, stream
, sum
, sum
, tap
, toArrayString
, toSpreadMap
, toString
, use
, use
, use
, with
, with
, 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