Return TypeFunction nameArguments
hzPeriodicityStr2Periodicity(const hzString&,)

Declared in file: hzCron.h
Defined in file : hzCron.cpp

Function Logic:

0:START 1:!P 2:Return HZPERIOD_INVALID 3:_hzGlobal_Periodicities[nIndex]; 4:P.Equiv(_hzGlobal_Periodicities[nIndex]) 5:Return (hzPeriodicity)nIndex 6:Return HZPERIOD_INVALID

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 ;
}