SFDB_CALWKND

int __stdcall SFDB_CALWKND ( LPCSTR  argCalCode,
LPWORD  nWKNDNo 
)

Returns the weekend number associated with the given calendar.

Returns
status code of the operation
Return values
NDK_SUCCESS Operation successful
Error code
See Also
SFDB_ISWRKDY()
Parameters
[in] argCalCode is the calendar code (e.g. US, NYSE, CBT), name or alias. If missing, the US Government calendar is used.
[out] nWKNDNo is the weekend number (1-7, 11-17).
int SFDB_CALWKND ( string  argCalCode,
ref UInt16  nWKNDNo 
)

Returns the weekend number associated with the given calendar.

Returns
status code of the operation
Return values
NDK_SUCCESS Operation successful
Error code
Parameters
[in] argCalCode is the calendar code (e.g. US, NYSE, CBT), name or alias. If missing, the US Government calendar is used.
[out] nWKNDNo is the weekend number (1-7, 11-17).
Remarks
Exceptions
Exception Type Condition
None N/A
Requirements
Namespace NumXLAPI
Class SFDBM
Scope Public
Lifetime Static
Package NumXLAPI.DLL
Examples


   
References
* Hamilton, J .D.; Time Series Analysis , Princeton University Press (1994), ISBN 0-691-04289-6
* Tsay, Ruey S.; Analysis of Financial Time Series John Wiley & SONS. (2005), ISBN 0-471-690740
* D. S.G. Pollock; Handbook of Time Series Analysis, Signal Processing, and Dynamics; Academic Press; Har/Cdr edition(Nov 17, 1999), ISBN: 125609906
* Box, Jenkins and Reisel; Time Series Analysis: Forecasting and Control; John Wiley & SONS.; 4th edition(Jun 30, 2008), ISBN: 470272848