Internationalization and localization tools

Locale-Sensitive Java Method


public static DateTimeFormatter ofLocalizedDateTime(FormatStyle dateTimeStyle)

public static DateTimeFormatter ofLocalizedDateTime(FormatStyle dateStyle, FormatStyle timeStyle)

Internationalization (I18n) Method Overview

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

For more information on ofLocalizedDateTime, 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