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.

6 lines • 334 B
import { Temporal } from "../temporal.js"; /** * True when the runtime prints `date` in the same era as a modern date of `calendarId`. False * only on a runtime that prints a second era for dates before the calendar's epoch (D18). */ export declare function printsInModernEra(date: Temporal.PlainDate, calendarId: string): boolean;