Calendar routines
You can use calendar routines to manipulate calendars.
Calendar routines can perform the following types of operations:
- Create the intersection of calendars
- Create the union of calendars
- Return information about the calendar
Calendar routines can be useful when comparing time series that are based on different calendars. For example, to compare peak time business usage of a computer network across multiple countries requires accounting for different sets of public holidays in each country. An efficient way to handle this is to define a calendar for each country and then create the calendar intersections to perform business-day comparisons.
Calendar routines can be run in SQL statements or sent from an application using the function mi_exec.