public static void setLocale(Locale newLocale) {
        locale = newLocale;
        // Save values to Jive properties.
        setXMLProperty("locale", locale.toString());

        // Reset the date formatter objects
        timeFormat = null;
        dateFormat = null;
        dateTimeFormat = null;
    }
Sets the global locale used by Jive. A locale specifies language
and country codes, and is used for formatting dates and numbers.
The default locale is Locale.US.

@param newLocale the global Locale for Jive.
xmppserver/src/main/java/org/jivesoftware/util/JiveGlobals.java