UNPKG

@northguild/gmt

Version:

Date and time library for JavaScript and TypeScript, built on TC39 Temporal: time zones, DST, business days, ISO 8601 strings in and out. Never throws.

5 lines • 463 B
import { YearMonth } from "./nonIsoArithmetic.js"; /** `BalanceNonISODate(start.year, start.month + months, 1)` for `monthsPerYear` months in every year. */ export declare function addFixedMonths(start: YearMonth, months: number, monthsPerYear: number): YearMonth; /** The signed month count from `from` to `to` for `monthsPerYear` months in every year. */ export declare function fixedMonthsBetween(from: YearMonth, to: YearMonth, monthsPerYear: number): number;