@formatjs/intl-datetimeformat
Version:
Intl.DateTimeFormat polyfill
6 lines (5 loc) • 464 B
TypeScript
import { type IntlDateTimeFormatPart } from "@formatjs/ecma402-abstract";
import type Decimal from "decimal.js";
import { type FormatDateTimePatternImplDetails } from "./FormatDateTimePattern.js";
import { type ToLocalTimeImplDetails } from "./ToLocalTime.js";
export declare function PartitionDateTimeRangePattern(dtf: Intl.DateTimeFormat, x: Decimal, y: Decimal, implDetails: FormatDateTimePatternImplDetails & ToLocalTimeImplDetails): IntlDateTimeFormatPart[];