Registry / Library

library · v0.1.1
Periodic Overlap
Measure minutes in a recurring daily window, including windows that cross midnight, within one specified minute-of-day interval. Equal daily endpoints mean an empty window.
Use Periodic Overlap
use vendor::periodic_overlap::periodic_overlap;
Run the example
nest demo periodic_overlap@0.1.1
blyxc native-run periodic_overlap-demo/main.blyx
Example source and expected output
use vendor::periodic_overlap::periodic_overlap;
fn main() {
println!(periodic_overlap(0,60,1380,30));
}
Expected output
30
Published versions
| Version | Package | Source commit | SHA-256 |
|---|---|---|---|
| 0.1.1 | Download ZIP · Browse files | 6b09b6f602 | cbb75b5f599488195ba7a0035d81bd6a630b71ed391be91910de612a97b89023 |
| 0.1.0 | Download ZIP · Browse files | 6349f23784 | 5a835e14825bfc5d64c72e465c1a5b8362a2f0cac533988bd8204ee5484cb955 |