TemporalZ

PlainMonthDay

The Temporal.PlainMonthDay object represents a month and day in a calendar, with no year or time.

See: Temporal.PlainMonthDay

Fields

#
_inner:*abi.c.PlainMonthDay
*abi.c.PlainMonthDay

Types

#

Functions

#
init

Creates a new PlainMonthDay from the given month, day, and optional calendar.

from

Parses a PlainMonthDay from a string.

equals

Returns true if this PlainMonthDay is equal to another (same date and calendar).

calendarId

Returns the calendar identifier used to interpret the internal ISO 8601 date.

day

Returns the 1-based day index in the month of this date.

monthCode

Returns the calendar-specific string representing the month of this date.

with

Returns a new PlainMonthDay with some fields replaced by new values.

toPlainDate

Returns a PlainDate representing this month-day and a supplied year in the same calendar system.

toString

Returns a string representing this month-day in RFC 9557 format.

toJSON

Returns a string representing this month-day in RFC 9557 format (ISO 8601).

toLocaleString

Returns a language-sensitive string representation of this month-day.

valueOf

Throws an error; valueOf() is not supported for PlainMonthDay.