Package: java.time

## Class MonthDay

- - ### Methods Summary

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

  - #### Methods inherited from class java.lang.Object

    `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`

  - #### Methods inherited from interface java.lang.Comparable

    `numberAwareCompareTo`

  - #### Methods inherited from interface java.time.temporal.TemporalAccessor

    `getAt`

- - ### Methods Detail

    - #### public LocalDate leftShift(int year)

      Returns a LocalDate of this month/day and the provided year.

      Parameters:
        `year` - a year
      Returns:
        a LocalDate
      Since:
        2.5.0

    - #### public LocalDate leftShift(Year year)

      Returns a LocalDate of this month/day and the provided Year.

      Parameters:
        `year` - a Year
      Returns:
        a LocalDate
      Since:
        2.5.0

    - #### public MonthDay parse(CharSequence text, String pattern)

      Parse text into a MonthDay using the provided pattern.

      Parameters:
        `text` - String to be parsed to create the date instance
        `pattern` - pattern used to parse the text
      Returns:
        a MonthDay representing the parsed text
      Since:
        2.5.0
      See Also:
        DateTimeFormatter
        MonthDay#parse(java.lang.CharSequence, java.time.format.DateTimeFormatter)