Time Gestion */
| 1450 | |
| 1451 | /* Time Gestion */ |
| 1452 | char* CStat::msToHHMMSS (unsigned long P_ms) |
| 1453 | { |
| 1454 | static char L_time [TIME_LENGTH]; |
| 1455 | unsigned long hh, mm, ss; |
| 1456 | |
| 1457 | P_ms = P_ms / 1000; |
| 1458 | hh = P_ms / 3600; |
| 1459 | mm = (P_ms - hh * 3600) / 60; |
| 1460 | ss = P_ms - (hh * 3600) - (mm * 60); |
| 1461 | sprintf (L_time, "%2.2lu:%2.2lu:%2.2lu", hh, mm, ss); |
| 1462 | return (L_time); |
| 1463 | } /* end of msToHHMMSS */ |
| 1464 | |
| 1465 | char* CStat::msToHHMMSSus (unsigned long P_ms) |
| 1466 | { |
nothing calls this directly
no outgoing calls
no test coverage detected