| Extracted from Pike v7.8 release 866 at 2018-07-18.

[Top]
Calendar
Calendar.YMD
Calendar.YMD.Year

# Method Calendar.YMD.Year()->month()

Method month

  `Month month()`
  `Month month(int n)`
  `Month month(string name)`

Description

  The Year type overloads the month() method, so it is possible to get a specified month by string:

  `year->month("April")`

  The integer and no argument behavior is inherited from YMD ().