[Webkit-unassigned] [Bug 100329] Rename LocaleICU, LocaleMac, and LocaleWin
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Oct 24 23:05:55 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=100329
--- Comment #2 from Kent Tamura <tkent at chromium.org> 2012-10-24 23:07:01 PST ---
Ok.
What is Localizer class?
- An object of Localizer class is associated to a specific locale
- It converts number strings represented in the HTML5 format to localized number strings , and vice versa.
- It formats date/time data represented in DateComponents class to localized strings, and parses localized date/time strings.
- It provides localized date format patterns for date, datetime, month, and time input types
- It provides various localized data to build UI. e.g. localized month names, localized AM/PM, localized decimal point, localized day-of-week names, the first day of week, text direction
It is a combination of NSLocale, NSNumberFormatter, NSDateFormatter, NSCalendar, and it's similar to QLocale of Qt.
We discussed the name before introducing Localizer, and other class name candidates were Locale, LocaleData, and LocaleInfo. We dropped Locale because locale.h will conflict with a C standard header.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list