code: public static void setWindowSeconds(List<Integer> windows) {
          synchronized (windowSeconds) {
              windowSeconds.clear();
              windowSeconds.addAll(windows);
  
              minWindow = getMinWindow(windows);
          }
      }
docs: for test