The function takes two input arguments that are scalar integers representing a month (1-12) and a day (1-31). The function returns a logical true if the specified date is a holiday; if not, it returns false. For this funtion, the following dates are considered holidays: January 1st, July 4th, December 25th, and December 31st.
eleni-chr / holiday Goto Github PK
View Code? Open in Web Editor NEWThe function takes two input arguments that are scalar integers representing a month and a day. The function returns a logical true if the specified date is a holiday; if not, it returns false.
License: MIT License