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