docs: public static void setNameProvider(NameProvider nameProvider) throws SecurityException {
          SecurityManager sm = System.getSecurityManager();
          if (sm != null) {
              sm.checkPermission(new JodaTimePermission("DateTimeZone.setNameProvider"));
          }
          if (nameProvider == null) {
              nameProvider = getDefaultNameProvider();
          }
          cNameProvider.set(nameProvider);
      }