Skip to content

Commit 6d5e481

Browse files
committed
Remove deprecated methods in FixedOffset
1 parent 7488085 commit 6d5e481

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

src/offset/fixed.rs

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -32,16 +32,6 @@ pub struct FixedOffset {
3232
}
3333

3434
impl 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
///

0 commit comments

Comments
 (0)