Skip to content

Commit

Permalink
improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
sffc committed Oct 18, 2024
1 parent ae211c7 commit 7163d3b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
16 changes: 8 additions & 8 deletions components/datetime/src/fieldset.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1044,7 +1044,7 @@ impl_zone_marker!(
/// ```
Z,
NeoTimeZoneStyle::Specific,
description = "specific time zone, or raw offset if unavailable",
description = "time zone in specific non-location format",
sample_length = Long,
sample = "Central Daylight Time",
zone_essentials = yes,
Expand All @@ -1067,7 +1067,7 @@ impl_zone_marker!(
/// use icu::datetime::fieldset::MD;
/// use icu::datetime::fieldset::HM;
/// use icu::datetime::fieldset::Zs;
/// use icu::datetime::Combo;
/// use icu::datetime::fieldset::Combo;
/// use icu::datetime::neo_skeleton::NeoSkeletonLength;
/// use icu::locale::locale;
/// use tinystr::tinystr;
Expand Down Expand Up @@ -1142,7 +1142,7 @@ impl_zone_marker!(
/// ```
Zs,
NeoTimeZoneStyle::Specific,
description = "specific time zone (only short), or raw offset if unavailable",
description = "time zone in specific non-location format (only short)",
sample_length = Short,
sample = "CDT",
zone_essentials = yes,
Expand Down Expand Up @@ -1248,7 +1248,7 @@ impl_zone_marker!(
/// ```
O,
NeoTimeZoneStyle::Offset,
description = "UTC offset time zone",
description = "UTC offset",
sample_length = Medium,
sample = "GMT-5",
zone_essentials = yes,
Expand Down Expand Up @@ -1316,7 +1316,7 @@ impl_zone_marker!(
/// ```
V,
NeoTimeZoneStyle::Generic,
description = "generic time zone, or location if unavailable",
description = "time zone in generic non-location format",
sample_length = Long,
sample = "Central Time",
zone_essentials = yes,
Expand All @@ -1339,7 +1339,7 @@ impl_zone_marker!(
/// use icu::datetime::fieldset::MD;
/// use icu::datetime::fieldset::HM;
/// use icu::datetime::fieldset::Vs;
/// use icu::datetime::Combo;
/// use icu::datetime::fieldset::Combo;
/// use icu::datetime::neo_skeleton::NeoSkeletonLength;
/// use icu::locale::locale;
/// use tinystr::tinystr;
Expand Down Expand Up @@ -1411,7 +1411,7 @@ impl_zone_marker!(
/// ```
Vs,
NeoTimeZoneStyle::Generic,
description = "generic time zone (only short), or location if unavailable",
description = "time zone in generic non-location format (only short)",
sample_length = Short,
sample = "CT",
zone_essentials = yes,
Expand Down Expand Up @@ -1450,7 +1450,7 @@ impl_zone_marker!(
/// ```
L,
NeoTimeZoneStyle::Location,
description = "location time zone",
description = "time zone in location format",
sample_length = Long,
sample = "Chicago Time",
zone_essentials = yes,
Expand Down
4 changes: 2 additions & 2 deletions ffi/capi/tests/missing_apis.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
# Please check in with @Manishearth, @robertbastian, or @sffc if you have questions


icu::datetime::Combo#Struct
icu::datetime::Combo::with_length#FnInStruct
icu::datetime::fieldset::Combo#Struct
icu::datetime::fieldset::Combo::with_length#FnInStruct
icu::datetime::DateTimeFormatter#Struct
icu::datetime::DateTimeFormatter::convert_and_format#FnInStruct
icu::datetime::DateTimeFormatter::strict_format#FnInStruct
Expand Down

0 comments on commit 7163d3b

Please sign in to comment.