From 4446afb5bab3384b6857c2a45986b1bd26efd162 Mon Sep 17 00:00:00 2001 From: "Shane F. Carr" Date: Mon, 16 Dec 2024 19:24:03 -0800 Subject: [PATCH] Docs test --- components/datetime/src/pattern/names.rs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/components/datetime/src/pattern/names.rs b/components/datetime/src/pattern/names.rs index bf04f8e57e9..d6a97b83ad8 100644 --- a/components/datetime/src/pattern/names.rs +++ b/components/datetime/src/pattern/names.rs @@ -133,13 +133,20 @@ size_test!( /// (7, 10, parts::WEEKDAY), // mon /// (11, 14, Part::ERROR), // M11 /// (11, 14, parts::MONTH), // M11 +/// (15, 17, icu::decimal::parts::INTEGER), // 20 /// (15, 17, parts::DAY), // 20 +/// (18, 22, icu::decimal::parts::INTEGER), // 2023 /// (18, 22, parts::YEAR), // 2023 /// (23, 25, Part::ERROR), // CE /// (23, 25, parts::ERA), // CE +/// (29, 31, icu::decimal::parts::INTEGER), // 11 /// (29, 31, parts::HOUR), // 11 +/// (32, 34, icu::decimal::parts::INTEGER), // 35 /// (32, 34, parts::MINUTE), // 35 /// (35, 41, parts::SECOND), // 03.000 +/// (35, 37, icu::decimal::parts::INTEGER), // 03 +/// (37, 38, icu::decimal::parts::DECIMAL), // . +/// (38, 41, icu::decimal::parts::FRACTION), // 000 /// (42, 44, Part::ERROR), // AM /// (42, 44, parts::DAY_PERIOD), // AM /// (45, 50, Part::ERROR), // +0000