Calendar related functions.
The first step is to load the QuantLib package.
In[1]:=
Needs["QuantLib`"]
Within the Calendar part there are several procedures and member functions available
In[2]:=
Select[Category[Calendar],QLProcedure[#]&]
Out[2]=
In[3]:=
Select[Category[Calendar],QLEnumerationMember[#]&]
Out[3]=
CalendarHolidayList
In[4]:=
In[6]:=
CalendarHolidayList[fromDate,toDate,Calendar->"TARGET"]
Out[6]=
In[1]:=
CalendarName[]
Out[1]=
CalendarIsBusinessDay
In[2]:=
In[4]:=
CalendarIsBusinessDay[date]
Out[4]=
CalendarIsHoliday
In[5]:=
In[6]:=
CalendarIsHoliday[date]
Out[6]=
CalendarIsEndOfMonth
In[7]:=
In[8]:=
CalendarIsEndOfMonth[date]
Out[8]=
CalendarEndOfMonth
In[9]:=
In[11]:=
CalendarEndOfMonth[date]
Out[11]=
CalendarAddHoliday
In[12]:=
In[13]:=
Out[13]=
CalendarRemoveHoliday
In[14]:=
In[15]:=
CalendarRemoveHoliday[date]
Out[15]=
CalendarAdjust
In[19]:=
In[20]:=
CalendarAdjust[date]
Out[20]=
CalendarAdvance
In[21]:=
In[23]:=
CalendarAdvance[StartDate,Period]
Out[23]=
CalendarBusinessDaysBetween
In[30]:=
In[32]:=
CalendarBusinessDaysBetween[FirstDate,LastDate]
Out[32]=