getLocale method
Return the locale that was used to construct this number formatter object.
If the locale was not given as parameter to the constructor, this method returns the default
locale of the system.
Implementation
String getLocale() {
String result = '';
final String formatOptions = toJsonString();
final String jscode1 = 'new NumFmt($formatOptions).getLocale().toString()';
result = ILibJS.instance.evaluate(jscode1).stringResult;
return result;
}