Internationalization and localization tools


Locale-Sensitive Java Method

java.time.format.DateTimeFormatter

public static DateTimeFormatter ofLocalizedDate(FormatStyle dateStyle)

Internationalization (I18n) Method Overview

ofLocalizedDate returns a locale specific date format for the ISO chronology, using the default machine locale. The formatter can be used to format or parse a date. The exact format pattern varies by locale.

For more information on ofLocalizedDate, click here.

I18n Issues

The formatter returned directly by this method will use the default locale for your machine. The default machine locale is not always the correct locale for every user. To specifically set the locale, call withLocale(Locale) on the result of this method.

Locale-Sensitive Java Methods

 

Lingoport internationalization and localization services and software