UNPKG

@formatjs/intl-datetimeformat

Version:
6 lines (5 loc) 438 B
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[];