GetCalendar function

The GetCalendar function returns the calendar associated with the given time series.

Syntax

GetCalendar(ts TimeSeries) 
returns Calendar;
ts
The time series from which to obtain a calendar.

Returns

The calendar used by the time series.

Example

The following example returns the calendar used by the time series for IBM®:
select GetCalendar(stock_data)
from daily_stocks
where stock_name = 'IBM';

(expression) startdate(2011-01-01 00:00:00),pattstart(2011-
          01-02 00:00:00),pattern({1 off,5 on,1 off},day)