changeFormatter

open fun changeFormatter(newPattern: String, newLocale: Locale)

This method is used to set a new pattern for the formatter instance

Parameters

newPattern

: the new pattern to set

newLocale

: the new locale to set