docs: public static void setProvider(Provider provider) throws SecurityException {
          SecurityManager sm = System.getSecurityManager();
          if (sm != null) {
              sm.checkPermission(new JodaTimePermission("DateTimeZone.setProvider"));
          }
          if (provider == null) {
              provider = getDefaultProvider();
          } else {
              validateProvider(provider);
          }
          cProvider.set(provider);
      }