interface Temporal.PlainYearMonth
Properties #
#calendarId: string readonly
#daysInYear: number readonly
#daysInMonth: number readonly
#monthsInYear: number readonly
#inLeapYear: boolean readonly
#[[Symbol.toStringTag]]: "Temporal.PlainYearMonth" readonly
Methods #
#with(yearMonthLike: PartialTemporalLike<YearMonthLikeObject>,options?: OverflowOptions,): PlainYearMonth #add(duration: DurationLike,options?: OverflowOptions,): PlainYearMonth #subtract(duration: DurationLike,options?: OverflowOptions,): PlainYearMonth #until(other: PlainYearMonthLike,options?: RoundingOptionsWithLargestUnit<"year" | "month">,): Duration #since(other: PlainYearMonthLike,options?: RoundingOptionsWithLargestUnit<"year" | "month">,): Duration #equals(other: PlainYearMonthLike): boolean #toString(options?: PlainDateToStringOptions): string #toLocaleString(locales?: Intl.LocalesArgument,options?: Intl.DateTimeFormatOptions,): string