A month-of-year, such as 'July'.

See java.time.Month for full documentation

Hierarchy

  • Month

Constructors

Properties

APRIL: Month
AUGUST: Month
DECEMBER: Month
FEBRUARY: Month
JANUARY: Month
JULY: Month
JUNE: Month
MARCH: Month
MAY: Month
NOVEMBER: Month
OCTOBER: Month
SEPTEMBER: Month

Methods

  • Adjusts the specified temporal object to have this month-of-year.

    Parameters

    Returns Temporal

  • Gets the day-of-year corresponding to the first day of this month.

    Parameters

    • leapYear: boolean

    Returns number

  • Gets the month corresponding to the first month of this quarter.

    Returns Month

  • Gets the value of the specified field from this month-of-year as an int.

    Parameters

    Returns number

  • Gets the value of the specified field from this month-of-year as a long.

    Parameters

    Returns number

  • Gets the month-of-year int value.

    Returns number

  • Checks if the specified field is supported.

    Parameters

    Returns boolean

  • Gets the length of this month in days.

    Parameters

    • leapYear: boolean

    Returns number

  • Gets the maximum length of this month in days.

    Returns number

  • Gets the minimum length of this month in days.

    Returns number

  • Returns the month-of-year that is the specified number of months before this one.

    Parameters

    • months: number

    Returns Month

  • Returns the month-of-year that is the specified number of months after this one.

    Parameters

    • months: number

    Returns Month

  • Queries this month-of-year using the specified query.

    Type Parameters

    • R

    Parameters

    Returns R

  • Adjusts the specified temporal object to have this month-of-year.

    Parameters

    Returns Temporal

  • Gets the day-of-year corresponding to the first day of this month.

    Parameters

    • leapYear: boolean

    Returns number

  • Gets the month corresponding to the first month of this quarter.

    Returns Month

  • Gets the value of the specified field from this month-of-year as an int.

    Parameters

    Returns number

  • Gets the value of the specified field from this month-of-year as a long.

    Parameters

    Returns number

  • Gets the month-of-year int value.

    Returns number

  • Checks if the specified field is supported.

    Parameters

    Returns boolean

  • Gets the length of this month in days.

    Parameters

    • leapYear: boolean

    Returns number

  • Gets the maximum length of this month in days.

    Returns number

  • Gets the minimum length of this month in days.

    Returns number

  • Returns the month-of-year that is the specified number of months before this one.

    Parameters

    • months: number

    Returns Month

  • Returns the month-of-year that is the specified number of months after this one.

    Parameters

    • months: number

    Returns Month

  • Queries this month-of-year using the specified query.

    Type Parameters

    • R

    Parameters

    Returns R

Generated using TypeDoc