display Name
A textual representation of the day, suitable for display purposes. The localized name will be returned, if available. If not, the ISO day of week number will be returned instead.
The result depends on the configured DateTimeTextProvider and may differ between platforms.
Return
the localized name or number if unavailable for the specified locale
See also
Parameters
style
the style of text
locale
the locale