@@ -67,11 +67,14 @@ pub mod options {
67
67
}
68
68
}
69
69
70
- /// The way day periods should be expressed.
70
+ /// The way day periods (morning, afternoon) should be expressed.
71
71
#[ derive( Eq , PartialEq , Debug , Clone ) ]
72
72
pub enum DayPeriod {
73
+ /// "AM", "PM"
73
74
Narrow ,
75
+ /// "A.M.", "P.M".
74
76
Short ,
77
+ /// "Morning", "Afternoon".
75
78
Long ,
76
79
}
77
80
@@ -81,8 +84,7 @@ pub mod options {
81
84
/// "guru", "hanidec", "khmr", " knda", "laoo", "latn", "limb", "mlym", " mong", "mymr",
82
85
/// "orya", "tamldec", " telu", "thai", "tibt".
83
86
///
84
- /// The value entered as currency is not validated. This responsibility is
85
- /// delegated to the implementor.
87
+ /// The value entered is not validated. This responsibility is delegated to the implementor.
86
88
#[ derive( Eq , PartialEq , Debug , Clone ) ]
87
89
pub struct NumberingSystem ( pub String ) ;
88
90
@@ -100,8 +102,7 @@ pub mod options {
100
102
101
103
/// Controls the time zone formatting.
102
104
///
103
- /// The value entered as currency is not validated. This responsibility is
104
- /// delegated to the implementor.
105
+ /// The value entered is not validated. This responsibility is delegated to the implementor.
105
106
#[ derive( Eq , PartialEq , Debug , Clone ) ]
106
107
pub struct TimeZone ( pub String ) ;
107
108
@@ -172,8 +173,13 @@ pub mod options {
172
173
Narrow ,
173
174
}
174
175
176
+ /// The time zone name styling to use.
175
177
#[ derive( Eq , PartialEq , Debug , Clone ) ]
176
178
pub enum TimeZoneStyle {
179
+ /// "British Summer Time"
180
+ Long ,
181
+ /// "GMT+1"
182
+ Short ,
177
183
}
178
184
}
179
185
0 commit comments