code: @Deprecated
      public void setLeapMonthPattern(String leapMonthPattern, int context, int width) {
          if (leapMonthPatterns != null) {
              int leapMonthPatternIndex = -1;
              switch (context) {
                 case FORMAT :
                    switch(width) {
                       case WIDE :
                          leapMonthPatternIndex = DT_LEAP_MONTH_PATTERN_FORMAT_WIDE;
                          break;
                       case ABBREVIATED :
                          leapMonthPatternIndex = DT_LEAP_MONTH_PATTERN_FORMAT_ABBREV;
                          break;
                       case NARROW :
                          leapMonthPatternIndex = DT_LEAP_MONTH_PATTERN_FORMAT_NARROW;
                          break;
                       default : // HANDLE SHORT, etc.
                          break;
                    }
                    break;
                 case STANDALONE :
                    switch(width) {
                       case WIDE :
                          leapMonthPatternIndex = DT_LEAP_MONTH_PATTERN_STANDALONE_WIDE;
                          break;
                       case ABBREVIATED :
                          leapMonthPatternIndex = DT_LEAP_MONTH_PATTERN_FORMAT_ABBREV;
                          break;
                       case NARROW :
                          leapMonthPatternIndex = DT_LEAP_MONTH_PATTERN_STANDALONE_NARROW;
                          break;
                       default : // HANDLE SHORT, etc.
                          break;
                    }
                    break;
                 case NUMERIC :
                    leapMonthPatternIndex = DT_LEAP_MONTH_PATTERN_NUMERIC;
                    break;
                 default :
                    break;
              }
              if (leapMonthPatternIndex >= 0) {
                  leapMonthPatterns[leapMonthPatternIndex] = leapMonthPattern;
              }
          }
      }
docs: Sets a leapMonthPattern, for example: "{0}bis"
  @param leapMonthPattern  The new leapMonthPattern.
  @param context   The usage context: FORMAT, STANDALONE, NUMERIC.
  @param width     The name width: WIDE, ABBREVIATED, NARROW.
  @deprecated This API is ICU internal only.
  @hide original deprecated declaration
  @hide draft / provisional / internal are hidden on Android