Skip to content

Commit

Permalink
fix NullHolidayCalendar docs
Browse files Browse the repository at this point in the history
  • Loading branch information
felipenoris committed Sep 25, 2016
1 parent 96e02d3 commit 8a85699
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ Cleans cache for a given instance or list of `HolidayCalendar`, `Symbol` or `Abs
- **UKSettlement** or **UnitedKingdom**: banking holidays for England and Wales.
- **CompositeHolidayCalendar** : supports combination of Holiday Calendars.
- **WeekendsOnly** : for this calendar, `isholiday` returns `false`, but `isbday` returns `false` for Saturdays and Sundays.
- **NullHolidayCalendar** : both `isholiday` and `isbday` returns `false` for any date. `bdays` returns the actual days between dates.
- **NullHolidayCalendar** : `isholiday` returns `false` and `isbday` returns `true` for any date. `bdays` returns the actual days between dates.

## Adding new Holiday Calendars
You can add your custom Holiday Calendar by doing the following:
Expand Down
1 change: 0 additions & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,6 @@ include("easter-min-max.jl")
# const Monday,Tuesday,Wednesday,Thursday,Friday,Saturday,Sunday = 1,2,3,4,5,6,7
# see query.jl on Dates module
# See also dayofweek(dt) function.
# this should go to Base.Dates
# function findweekday(weekday_target :: Int, yy :: Int, mm:: Int, occurrence :: Int, ascending :: Bool )
@test bd.findweekday(Dates.Monday, 2015, 07, 1, true) == Date(2015, 07, 06)
@test bd.findweekday(Dates.Monday, 2015, 07, 2, true) == Date(2015, 07, 13)
Expand Down

0 comments on commit 8a85699

Please sign in to comment.