Blender
V3.3
|
#include "BLI_math.h"
Go to the source code of this file.
Functions | |
void | BLI_math_time_seconds_decompose (double seconds, double *r_days, double *r_hours, double *r_minutes, double *r_seconds, double *r_milliseconds) |
void BLI_math_time_seconds_decompose | ( | double | seconds, |
double * | r_days, | ||
double * | r_hours, | ||
double * | r_minutes, | ||
double * | r_seconds, | ||
double * | r_milliseconds | ||
) |
Explode given time value expressed in seconds, into a set of days, hours, minutes, seconds and/or milliseconds (depending on which return parameters are not NULL).
seconds=90.0
and do not pass r_seconds
and r_milliseconds
, r_minutes
will be set to 1.5
. Definition at line 10 of file math_time.c.
References BLI_assert, NULL, SECONDS_IN_DAY, SECONDS_IN_HOUR, SECONDS_IN_MILLISECONDS, and SECONDS_IN_MINUTE.
Referenced by file_read_reports_finalize(), and TEST().