method Intl.DateTimeFormat.formatRangeToParts
#DateTimeFormat.formatRangeToParts<T extends Formattable>(startDate: T,endDate: T,): DateTimeFormatRangePart[]Allow locale-aware formatting of tokens representing each part of the
formatted date range produced by Intl.DateTimeFormat formatters.
Type Parameters #
#T extends Formattable