getCurrentLocale() method

Timezone

Syntax

<static> getCurrentLocale() → {string}

Returns

Returns a string containing the current locale, or null if it is not available.

Type:

string

Example

var sLocale = hwc.getCurrentLocale();

Source

Timezone.js, line 30.