mirror of
https://github.com/Magnus167/rustframe.git
synced 2025-08-20 04:00:01 +00:00
Update README to replace BDateFreq with DateFreq for consistency
This commit is contained in:
parent
df28440dfd
commit
63e5f4b3a4
@ -51,7 +51,7 @@ let n_periods = 4;
|
|||||||
|
|
||||||
// Four business days starting 2024‑01‑02
|
// Four business days starting 2024‑01‑02
|
||||||
let dates: Vec<NaiveDate> =
|
let dates: Vec<NaiveDate> =
|
||||||
BDatesList::from_n_periods("2024-01-02".to_string(), BDateFreq::Daily, n_periods)
|
BDatesList::from_n_periods("2024-01-02".to_string(), DateFreq::Daily, n_periods)
|
||||||
.unwrap()
|
.unwrap()
|
||||||
.list().unwrap();
|
.list().unwrap();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user