Return type | Name and parameters |
---|---|
LocalDate
|
leftShift(int year)
Returns a LocalDate of this month/day and the provided year. |
LocalDate
|
leftShift(Year year)
Returns a LocalDate of this month/day and the provided Year. |
MonthDay
|
parse(CharSequence text, String pattern)
Parse text into a MonthDay using the provided pattern. |
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 a LocalDate of this month/day and the provided year.
year
- a yearReturns a LocalDate of this month/day and the provided Year.
year
- a YearParse text into a MonthDay using the provided pattern.
text
- String to be parsed to create the date instancepattern
- pattern used to parse the text