setlocale() and relation with NumberFormatter, IntlDateFormatter ecc

This is the question.

I have setlocale() to Set locale information for the current user.

My question is: NumberFormatter class, IntlDateFormatter class and others like this will use the locale information settet by setlocale() or have I to always pass those information when I create a NumberFormatter object ( for example ) ???