code: private static List<Integer> getWindowRange(final TrainingParameters params) {
      final List<Integer> windowRange = new ArrayList<Integer>();
      final String windowParam = Flags.getWindow(params);
      final String[] windowArray = windowParam.split("[ :-]");
      if (windowArray.length == 2) {
        windowRange.add(Integer.parseInt(windowArray[0]));
        windowRange.add(Integer.parseInt(windowArray[1]));
      }
      return windowRange;
    }
docs: Get the window range feature.
  
  @param params
  the training parameters
  @return the list containing the left and right window values