ecma402
ecma402 copied to clipboard
Operations specific to DateTimeFormat should have names indicating that
(originally posted by @gibson042 in https://github.com/tc39/ecma402/pull/923#discussion_r1797727493)
e.g., {Basic,BestFit}Matcher → DateTimeFormat{Basic,BestFit}Matcher
Maybe keep "FormatMatcher" together to match the constructor option "formatMatcher"? That means: {Basic,BestFit}DateTimeFormatMatcher.
Intl.DateTimeFormat is currently the only Intl constructor which accepts a "formatMatcher" option, so there's no latent ambiguity about the name.