         }         return resultArray;     }      /**      * Gets the formats used for the format elements in the      * previously set pattern string.      * The order of formats in the returned array corresponds to      * the order of format elements in the pattern string.      * <p>      * Since the order of format elements in a pattern string often      * changes during localization, it