Return Type | Function name | Arguments |
---|---|---|
hzPeriodicity | Str2Periodicity | (const hzString&,) |
Declared in file: hzCron.h
Defined in file : hzCron.cpp
Function Logic:
Function body:
hzPeriodicity Str2Periodicity (const hzString& P) { uint32_t nIndex ; if (!P) return HZPERIOD_INVALID ; for (nIndex = 0; _hzGlobal_Periodicities[nIndex] ; nIndex++) { if (P.Equiv(_hzGlobal_Periodicities[nIndex])) return (hzPeriodicity) nIndex ; } return HZPERIOD_INVALID ; }