docs: public int indexOf(DurationFieldType type) {
          for (int i = 0, isize = size(); i < isize; i++) {
              if (iTypes[i] == type) {
                  return i;
              }
          }
          return -1;
      }