mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 15:27:35 +00:00
LibJS+LibUnicode: Implement the Intl.DateTimeFormat constructor
This commit is contained in:
parent
75b2a09a2f
commit
16151aa7d5
9 changed files with 1089 additions and 2 deletions
|
@ -21,13 +21,17 @@ using Fallback = Variant<Empty, bool, StringView>;
|
|||
|
||||
struct LocaleOptions {
|
||||
Value locale_matcher;
|
||||
Optional<String> nu;
|
||||
Optional<String> ca; // [[Calendar]]
|
||||
Optional<String> hc; // [[HourCycle]]
|
||||
Optional<String> nu; // [[NumberingSystem]]
|
||||
};
|
||||
|
||||
struct LocaleResult {
|
||||
String locale;
|
||||
String data_locale;
|
||||
Optional<String> nu;
|
||||
Optional<String> ca; // [[Calendar]]
|
||||
Optional<String> hc; // [[HourCycle]]
|
||||
Optional<String> nu; // [[NumberingSystem]]
|
||||
};
|
||||
|
||||
struct PatternPartition {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue