Lines Matching refs:iHours
331 bool CFX_Unitime::AddHours(int32_t iHours) { in AddHours() argument
332 m_iUnitime += (int64_t)iHours * g_FXMillisecondsPerHour; in AddHours()
487 bool CFX_DateTime::AddHours(int32_t iHours) { in AddHours() argument
488 if (iHours == 0) { in AddHours()
491 iHours += m_DateTime.Date.sDate.day; in AddHours()
492 int32_t iDays = iHours / 24; in AddHours()
493 iHours %= 24; in AddHours()
494 if (iHours < 0) { in AddHours()
495 iDays--, iHours += 24; in AddHours()
497 m_DateTime.Date.sDate.day = (uint8_t)iHours; in AddHours()
508 int32_t iHours = iMinutes / 60; in AddMinutes() local
511 iHours--, iMinutes += 60; in AddMinutes()
514 if (iHours != 0) { in AddMinutes()
515 AddHours(iHours); in AddMinutes()