DateTimeFormatter.getLocale

Gets the locale to be used during formatting. !(p) This is used to lookup any part of the formatter needing specific localization, such as the text or localized pattern.

@return the locale of this formatter, not null

class DateTimeFormatter
Locale
getLocale
()

Meta