int __stdcall SFDB_HLDYDate | ( | LONG | argDate, |
LPLONG | zdates, | ||
size_t | nLen, | ||
LPCTSTR | szHolidays, | ||
WORD | retType, | ||
LPLONG | retVal | ||
) |
Returns the date serial number that represents the holiday in the given year.
- Returns
- status code of the operation
- Return values
NDK_SUCCESS Operation successful NDK_FAILED Operation unsuccessful. See SFMacros.h for more details.
- See Also
- SFDB_ISWRKDY()
- Parameters
[in] argDate is a serial date number that represents a given date [in] zdates is an array of holidays dates; each expressed as a serial number (i.e. number of days since 1.1.1970) [in] nLen is the number of holiday dates. [in] szHolidays is a (:_:) separated list of holiday codes [in] retType is a switch to select the return output (1 = next holiday, 2= last holiday). [out] retVal is the returned serial date number that represents the holiday.
int SFDB_HLDYDate | ( | Long | argDate, |
long[] | zdates, | ||
UIntPtr | nSize, | ||
string | szHolidays, | ||
UInt16 | retType, | ||
ref long | retVal | ||
) |
Returns the date serial number that represents the holiday in the given year.
- Returns
- status code of the operation
- Return values
Integer Holiday number
- Parameters
[in] argDate is a serial date number that represents a given date [in] zdates is an array of holidays dates; each expressed as a serial number (i.e. number of days since 1.1.1970) [in] nLen is the number of holiday dates. [in] szHolidays is a (:_:) separated list of holiday codes [in] retType is a switch to select the return output (1 = next holiday, 2= last holiday). [out] retVal is the returned serial date number that represents the holiday.
- 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