* https://www.unicode.org/reports/tr35/#Likely_Subtags
()
| 595 | * https://www.unicode.org/reports/tr35/#Likely_Subtags |
| 596 | */ |
| 597 | public maximize(): Locale { |
| 598 | const locale = getInternalSlots(this).locale |
| 599 | try { |
| 600 | const maximizedLocale = addLikelySubtags(locale) |
| 601 | return new Locale(maximizedLocale) |
| 602 | } catch { |
| 603 | return new Locale(locale) |
| 604 | } |
| 605 | } |
| 606 | |
| 607 | /** |
| 608 | * https://www.unicode.org/reports/tr35/#Likely_Subtags |
no test coverage detected