This function allows the user to specify a start and end date, and then returns a vector of serial date numbers corresponding to the holidays and non-trading days between the two chosen dates for the Johannesburg Stock Exchange in South Africa.
The function has been adapted from the HOLIDAYS function in the Financial Toolbox, which returns the non-trading days for the New York Stock Exchange.
Nicole Wilson (2020). South African Public Holidays (https://www.mathworks.com/matlabcentral/fileexchange/43862-south-african-public-holidays), MATLAB Central File Exchange. Retrieved .