@ Deprecated public TimeUnitFormat setLocale ( ULocale locale ) { if ( locale != this . locale ) { mf = mf . withLocale ( locale ) ; // Needed for getLocale(ULocale.VALID_LOCALE) setLocale ( locale , locale ) ; this . locale = locale ; isReady = false ; } return this ; }
Set the locale used for formatting or parsing .