dateFormatNames
Returns the names from the specified locale based on the options.
Parameters
locale
string
The locale id
which defines the locale from which the names should be retrieved.
options
The options that determine the returned names.
Returns
any
- The date format names.