Registry / Library

library · v0.1.1
Month Span Days
Return the Gregorian length of a named month for positive civil years. Invalid months and years return minus one.
Use Month Span Days
use vendor::month_span_days::month_span_days;
Run the example
nest demo month_span_days@0.1.1
blyxc native-run month_span_days-demo/main.blyx
Example source and expected output
use vendor::month_span_days::month_span_days;
fn main() {
println!(month_span_days(2000,2));
}
Expected output
29
Published versions
| Version | Package | Source commit | SHA-256 |
|---|---|---|---|
| 0.1.1 | Download ZIP · Browse files | 5d1c206185 | e29d7da7530d08af5d939240e9bfbec6f4153a126929db6f72ebd1ee616f4e12 |
| 0.1.0 | Download ZIP · Browse files | 6349f23784 | dbc9c05cef895338802c20c4008aab8f330a1367d25bdafd5744522d6331c15a |