A text file detailing the holidays and weekends in a given time period.
weekendStart <integer> weekendEnd <integer> holiday yyyy-mm-dd holiday yyyy-mm-dd ...
weekendStart | An integer that represents a day of the week, when Monday=0, Tuesday=1, ..., Saturday=5, and Sunday=6. |
weekendEnd | An integer that represents a day of the week, when Monday=0, Tuesday=1, ..., Saturday=5, and Sunday=6. |
holiday | A day of the year, in the form yyyy-mm-dd. A calendar file can have unlimited holidays. |
A calendar file is a text file that describes the start and end date of a weekend, and the holidays within the year. The lines beginning with '#' characters are ignored, and can be used to provide user clarification or comments.
Calendar files are loaded and cached on demand by the Event Stream Processor. If changes occur in any of the calendar files, a command must be sent to refresh the cached calendar data, the refresh_calendars command.
# Sybase calendar data for US 1983 weekendStart 5 weekendEnd 6 holiday 1983-02-21 holiday 1983-04-01 holiday 1983-05-30 holiday 1983-07-04 holiday 1983-09-05 holiday 1983-11-24 holiday 1983-12-26