File tree Expand file tree Collapse file tree 1 file changed +0
-20
lines changed
Expand file tree Collapse file tree 1 file changed +0
-20
lines changed Original file line number Diff line number Diff line change @@ -32,16 +32,6 @@ pub struct FixedOffset {
3232}
3333
3434impl FixedOffset {
35- /// Makes a new `FixedOffset` for the Eastern Hemisphere with given timezone difference.
36- /// The negative `secs` means the Western Hemisphere.
37- ///
38- /// Panics on the out-of-bound `secs`.
39- #[ deprecated( since = "0.4.23" , note = "use `east_opt()` instead" ) ]
40- #[ must_use]
41- pub fn east ( secs : i32 ) -> FixedOffset {
42- FixedOffset :: east_opt ( secs) . expect ( "FixedOffset::east out of bounds" )
43- }
44-
4535 /// Makes a new `FixedOffset` for the Eastern Hemisphere with given timezone difference.
4636 /// The negative `secs` means the Western Hemisphere.
4737 ///
@@ -68,16 +58,6 @@ impl FixedOffset {
6858 }
6959 }
7060
71- /// Makes a new `FixedOffset` for the Western Hemisphere with given timezone difference.
72- /// The negative `secs` means the Eastern Hemisphere.
73- ///
74- /// Panics on the out-of-bound `secs`.
75- #[ deprecated( since = "0.4.23" , note = "use `west_opt()` instead" ) ]
76- #[ must_use]
77- pub fn west ( secs : i32 ) -> FixedOffset {
78- FixedOffset :: west_opt ( secs) . expect ( "FixedOffset::west out of bounds" )
79- }
80-
8161 /// Makes a new `FixedOffset` for the Western Hemisphere with given timezone difference.
8262 /// The negative `secs` means the Eastern Hemisphere.
8363 ///
You can’t perform that action at this time.
0 commit comments