Skip to content

Commit

Permalink
Add accessor methods to ZonedDateTime + organization
Browse files Browse the repository at this point in the history
  • Loading branch information
nekevss committed Nov 27, 2024
1 parent 454d1a8 commit 15b4056
Show file tree
Hide file tree
Showing 2 changed files with 277 additions and 19 deletions.
2 changes: 1 addition & 1 deletion src/components/duration/normalized.rs
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ impl NormalizedTimeDuration {

// TODO: Potentially, update divisor to u64?
/// `Divide the NormalizedTimeDuraiton` by a divisor.
pub(super) fn divide(&self, divisor: i64) -> i128 {
pub(crate) fn divide(&self, divisor: i64) -> i128 {
// TODO: Validate.
self.0 / i128::from(divisor)
}
Expand Down
Loading

0 comments on commit 15b4056

Please sign in to comment.