code: public static IntInterval fromTo(int from, int to)
      {
          if (from <= to)
          {
              return IntInterval.fromToBy(from, to, 1);
          }
          return IntInterval.fromToBy(from, to, -1);
      }
docs: Returns an IntInterval starting from the value from to the specified value to with a step value of 1.