Adding a deprecation note about the Locale component
Fixing code style
Method's note replaced by one single method for the whole class
Removing @deprecated tag in methods as the whole class is deprecated