result is # of months, similar to subtracting 2 dates gives # of days
Showing 1 of 4 files from the diff.
src/YearMonths.jl
changed.
Other files ignored by Codecov
@@ -84,4 +84,6 @@
Loading
84 | 84 | Base.string(ym::YearMonth) = "$(year(ym))-$(lpad(month(ym), 2, "0"))" |
|
85 | 85 | Base.show(io::IO, ym::YearMonth) = print(io, "YearMonth(\"", string(ym), "\")") |
|
86 | 86 | ||
87 | + | Base.:-(x::YearMonth, y::YearMonth) = Month(12 * (x.y - y.y) + x.m - y.m) |
|
88 | + | ||
87 | 89 | end # module YearMonths |
Files | Coverage |
---|---|
src/YearMonths.jl | 100.00% |
Project Totals (1 files) | 100.00% |
3276143787
3276143787
3276143787
3276143787
3276143787
3276143787
3276143787
3276143787
3276143787
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file.
The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files.
The size and color of each slice is representing the number of statements and the coverage, respectively.