Convert hzMonthrule enum value into text (for diagnostic purposes)
| Return Type | Function name | Arguments |
|---|---|---|
| const char* | Monthrule2Txt | (hzMonthrule,) |
Declared and defined in file: hzCron.cpp
Function Logic:
Function body:
const char* Monthrule2Txt (hzMonthrule mrule)
{
// Category: Diagnostics
//
// Convert hzMonthrule enum value into text (for diagnostic purposes)
//
// Arguments: 1) mrule The valid hzMonthrule value
//
// Returns: Const reference to hzString as value being text form of the month rule
if (mrule < 0|| mrule > HZMONTHRULE_INVALID)
return _hzGlobal_Monthrules[HZMONTHRULE_INVALID] ;
return _hzGlobal_Monthrules[mrule] ;
}