mirror of
https://github.com/bitcoinresearchkit/brk.git
synced 2026-04-25 15:19:58 -07:00
parser: revert save logic
This commit is contained in:
@@ -74,12 +74,16 @@ impl Date {
|
||||
}
|
||||
}
|
||||
|
||||
pub fn is_first_of_month(&self) -> bool {
|
||||
self.day() == 1
|
||||
}
|
||||
|
||||
pub fn is_first_of_january(&self) -> bool {
|
||||
self.day() == 1 && self.month() == 1
|
||||
self.is_first_of_month() && self.month() == 1
|
||||
}
|
||||
|
||||
pub fn is_first_of_june(&self) -> bool {
|
||||
self.day() == 1 && self.month() == 6
|
||||
self.is_first_of_month() && self.month() == 6
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -27,7 +27,6 @@ mod liquidity;
|
||||
mod map_value;
|
||||
mod partial_txout_data;
|
||||
mod price;
|
||||
mod ram;
|
||||
mod sent_data;
|
||||
mod serialized_btreemap;
|
||||
mod serialized_vec;
|
||||
@@ -64,7 +63,6 @@ pub use liquidity::*;
|
||||
pub use map_value::*;
|
||||
pub use partial_txout_data::*;
|
||||
pub use price::*;
|
||||
pub use ram::*;
|
||||
pub use sent_data::*;
|
||||
pub use serialized_btreemap::*;
|
||||
pub use serialized_vec::*;
|
||||
|
||||
Reference in New Issue
Block a user