JuliaFinance / BusinessDays.jl
Showing 1 of 2 files from the diff.
Other files ignored by Codecov

@@ -41,13 +41,17 @@
Loading
41 41
                ||
42 42
                # May Day, Early May Bank Holiday
43 43
                (adjustweekendholidayPost(findweekday(Dates.Monday, yy, 5, 1, true)) == dt && yy != 1995 && yy != 2020)
44 -
                ||
45 -
                # Spring Bank Holiday
46 -
                (adjustweekendholidayPost(findweekday(Dates.Monday, yy, 5, 1, false)) == dt && yy != 2012 && yy != 2002)
47 44
            )
48 45
            return true
49 46
        end
50 47
48 +
        # Spring Bank Holiday
49 +
        if yy == 2022 && dt == Dates.Date(2022, 6, 2)
50 +
            return true
51 +
        elseif adjustweekendholidayPost(findweekday(Dates.Monday, yy, 5, 1, false)) == dt && yy != 2012 && yy != 2002 && yy != 2022
52 +
            return true
53 +
        end
54 +
51 55
        # Easter occurs up to April, which is before August (mm < 8). See test/easter-min-max.jl .
52 56
        # Holidays based on easter date
53 57
        dt_rata::Int = Dates.days(dt)
Files Coverage
src 99.17%
Project Totals (15 files) 99.17%
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.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading