• Return an array of objects representing the parts of the date and placeholder labels

    Parameters

    • locale: string

      The locale to determine order of the datetime placholders.

    • dateLabels: DateLabelOptions

      display label for day, month, and year

    Returns DateTimeFormatPart[]

    An ordered array of objects representing the parts of the formatted date, each with a type and value