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.
T extends Formattable
DateTimeFormat.formatRangeToParts(): DateTimeFormatRangePart[]