docs: public int getValue(int index) {
          switch (index) {
              case HOUR_OF_DAY:
                  return getChronology().hourOfDay().get(getLocalMillis());
              case MINUTE_OF_HOUR:
                  return getChronology().minuteOfHour().get(getLocalMillis());
              case SECOND_OF_MINUTE:
                  return getChronology().secondOfMinute().get(getLocalMillis());
              case MILLIS_OF_SECOND:
                  return getChronology().millisOfSecond().get(getLocalMillis());
              default:
                  throw new IndexOutOfBoundsException("Invalid index: " + index);
          }
      }