From 78eb799fa38d01fcd0e2e9a42e7f97b79f73b93e Mon Sep 17 00:00:00 2001 From: John M Kuhn Date: Sun, 2 Dec 2018 20:39:14 -0500 Subject: [PATCH 1/2] Add Bush's funeral to US Special Closings --- src/calendars/us.jl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/calendars/us.jl b/src/calendars/us.jl index daa7d94..7d02e78 100644 --- a/src/calendars/us.jl +++ b/src/calendars/us.jl @@ -110,6 +110,9 @@ function isholiday(::USNYSE , dt::Dates.Date) # Special Closings if ( + # President George H.W. Bush's funeral + dt == Dates.Date(2018, 12, 5) + || # Hurricane Sandy yy == 2012 && mm == 10 && (dd == 29 || dd == 30) || From 0e5cb25944cc3beb348316b423b75915c33185fc Mon Sep 17 00:00:00 2001 From: John M Kuhn Date: Sun, 2 Dec 2018 20:48:03 -0500 Subject: [PATCH 2/2] Make spacing consistent --- src/calendars/us.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calendars/us.jl b/src/calendars/us.jl index 7d02e78..ea32a45 100644 --- a/src/calendars/us.jl +++ b/src/calendars/us.jl @@ -111,7 +111,7 @@ function isholiday(::USNYSE , dt::Dates.Date) # Special Closings if ( # President George H.W. Bush's funeral - dt == Dates.Date(2018, 12, 5) + dt == Dates.Date(2018,12,5) || # Hurricane Sandy yy == 2012 && mm == 10 && (dd == 29 || dd == 30)