code: @Deprecated
      public static PatternInfo genPatternInfo(String intervalPattern,
                                        boolean laterDateFirst) {
          int splitPoint = splitPatternInto2Part(intervalPattern);
  
          String firstPart = intervalPattern.substring(0, splitPoint);
          String secondPart = null;
          if ( splitPoint < intervalPattern.length() ) {
              secondPart = intervalPattern.substring(splitPoint, intervalPattern.length());
          }
  
          return new PatternInfo(firstPart, secondPart, laterDateFirst);
      }
docs: Break interval patterns as 2 part and save them into pattern info.
  @param intervalPattern  interval pattern
  @param laterDateFirst   whether the first date in intervalPattern
  is earlier date or later date
  @return                 pattern info object
  @deprecated This API is ICU internal only.
  @hide original deprecated declaration
  @hide draft / provisional / internal are hidden on Android