code: @Deprecated
      public static SimpleDateFormat getInstance(Calendar.FormatConfiguration formatConfig) {
  
          String ostr = formatConfig.getOverrideString();
          boolean useFast = ( ostr != null && ostr.length() > 0 );
  
          return new SimpleDateFormat(formatConfig.getPatternString(),
                      formatConfig.getDateFormatSymbols(),
                      formatConfig.getCalendar(),
                      null,
                      formatConfig.getLocale(),
                      useFast,
                      formatConfig.getOverrideString());
      }
docs: Creates an instance of SimpleDateFormat for the given format configuration
  @param formatConfig the format configuration
  @return A SimpleDateFormat instance
  @deprecated This API is ICU internal only.
  @hide original deprecated declaration
  @hide draft / provisional / internal are hidden on Android