MELCloud & MELCloud Home API for Node.js - v48.2.0
    Preparing search index...

    Interface PlainYearMonth

    interface PlainYearMonth {
        "[toStringTag]": "Temporal.PlainYearMonth";
        calendarId: string;
        daysInMonth: number;
        daysInYear: number;
        era: string | undefined;
        eraYear: number | undefined;
        inLeapYear: boolean;
        month: number;
        monthCode: string;
        monthsInYear: number;
        year: number;
        add(
            duration: DurationLike,
            options?: OverflowOptions,
        ): Temporal.PlainYearMonth;
        equals(other: PlainYearMonthLike): boolean;
        since(
            other: PlainYearMonthLike,
            options?: RoundingOptionsWithLargestUnit<"month" | "year">,
        ): Temporal.Duration;
        subtract(
            duration: DurationLike,
            options?: OverflowOptions,
        ): Temporal.PlainYearMonth;
        toJSON(): string;
        toLocaleString(
            locales?: LocalesArgument,
            options?: DateTimeFormatOptions,
        ): string;
        toPlainDate(item: PlainYearMonthToPlainDateOptions): Temporal.PlainDate;
        toString(options?: PlainDateToStringOptions): string;
        until(
            other: PlainYearMonthLike,
            options?: RoundingOptionsWithLargestUnit<"month" | "year">,
        ): Temporal.Duration;
        valueOf(): never;
        with(
            yearMonthLike: PartialTemporalLike<YearMonthLikeObject>,
            options?: OverflowOptions,
        ): Temporal.PlainYearMonth;
    }
    Index
    "[toStringTag]": "Temporal.PlainYearMonth"
    calendarId: string
    daysInMonth: number
    daysInYear: number
    era: string | undefined
    eraYear: number | undefined
    inLeapYear: boolean
    month: number
    monthCode: string
    monthsInYear: number
    year: number
    • Returns string

    • Parameters

      • Optionallocales: LocalesArgument
      • Optionaloptions: DateTimeFormatOptions

      Returns string

    • Returns never