Formats

NILS provides different Formatter class in the Locale of a NLS object, for formatting or parsing dates, times, dates with time or different number formats.

You can get access to the formats be calling NLS.getFormats().

The default format for dates, times and dates with time will be medium (i.e. Jul 25, 2023). In the NilsConfig there is the method dateFormatStyle(FormatStyle) where the format style of all date related formatter can be changed globally.