Return Type | Function name | Arguments |
---|---|---|
hzMonthrule | Str2Monthrule | (const hzString&,) |
Declared in file: hzCron.h
Defined in file : hzCron.cpp
Function Logic:
Function body:
hzMonthrule Str2Monthrule (const hzString& R) { uint32_t nIndex ; if (!R) return HZMONTHRULE_INVALID ; for (nIndex = 0; _hzGlobal_Monthrules[nIndex] ; nIndex++) { if (R == _hzGlobal_Monthrules[nIndex]) return (hzMonthrule) nIndex ; } return HZMONTHRULE_INVALID ; }