Skip to main content

PlainYearMonth

class Temporal.PlainYearMonth
unstable

A Temporal.PlainYearMonth represents a particular month on the calendar. For example, it could be used to represent a particular instance of a monthly recurring event, like "the June 2019 meeting".

See https://tc39.es/proposal-temporal/docs/yearmonth.html for more details.

Constructors Jump to heading

new
Jump to headingPlainYearMonth(
isoYear: number,
isoMonth: number,
calendar?: string,
referenceISODay?: number,
)

Properties Jump to heading

readonly
Jump to heading[Symbol.toStringTag]: "Temporal.PlainYearMonth"
readonly
Jump to headingera: string | undefined
readonly
Jump to headingeraYear: number | undefined
readonly
Jump to headingmonth: number
readonly
Jump to headingyear: number

Static Methods Jump to heading

Back to top