Temporal.PlainYearMonth
interface
interface Temporal.PlainYearMonthvariable
var Temporal.PlainYearMonth: PlainYearMonthConstructorProperties
calendarId
readonly calendarId: stringera
readonly era: string | undefinederaYear
readonly eraYear: number | undefinedyear
readonly year: numbermonth
readonly month: numbermonthCode
readonly monthCode: stringdaysInYear
readonly daysInYear: numberdaysInMonth
readonly daysInMonth: numbermonthsInYear
readonly monthsInYear: numberinLeapYear
readonly inLeapYear: boolean[Symbol.toStringTag]
readonly [Symbol.toStringTag]: "Temporal.PlainYearMonth"Methods
with
with(yearMonthLike: PartialTemporalLike<YearMonthLikeObject>, options?: OverflowOptions): PlainYearMonthadd
add(duration: DurationLike, options?: OverflowOptions): PlainYearMonthsubtract
subtract(duration: DurationLike, options?: OverflowOptions): PlainYearMonthuntil
until(other: PlainYearMonthLike, options?: RoundingOptionsWithLargestUnit<"year" | "month">): Durationsince
since(other: PlainYearMonthLike, options?: RoundingOptionsWithLargestUnit<"year" | "month">): Durationequals
equals(other: PlainYearMonthLike): booleantoString
toString(options?: PlainDateToStringOptions): stringtoLocaleString
toLocaleString(locales?: Intl.LocalesArgument, options?: Intl.DateTimeFormatOptions): stringtoJSON
toJSON(): stringvalueOf
valueOf(): nevertoPlainDate
toPlainDate(item: PlainYearMonthToPlainDateOptions): PlainDate