Chromium Embedded Framework (CEF)
116.0.6+gc182ee2+chromium-116.0.5845.10
|
Classes | |
struct | cef_basetime_t |
Represents a wall clock time in UTC. More... | |
struct | cef_time_t |
Time information. More... | |
Functions | |
CEF_EXPORT int | cef_time_to_timet (const cef_time_t *cef_time, time_t *time) |
Converts cef_time_t to/from time_t. More... | |
CEF_EXPORT int | cef_time_from_timet (time_t time, cef_time_t *cef_time) |
CEF_EXPORT int | cef_time_to_doublet (const cef_time_t *cef_time, double *time) |
Converts cef_time_t to/from a double which is the number of seconds since epoch (Jan 1, 1970). More... | |
CEF_EXPORT int | cef_time_from_doublet (double time, cef_time_t *cef_time) |
CEF_EXPORT int | cef_time_now (cef_time_t *cef_time) |
Retrieve the current system time. More... | |
CEF_EXPORT cef_basetime_t | cef_basetime_now (void) |
Retrieve the current system time. More... | |
CEF_EXPORT int | cef_time_delta (const cef_time_t *cef_time1, const cef_time_t *cef_time2, long long *delta) |
Retrieve the delta in milliseconds between two time values. More... | |
CEF_EXPORT int | cef_time_to_basetime (const cef_time_t *from, cef_basetime_t *to) |
Converts cef_time_t to cef_basetime_t. More... | |
CEF_EXPORT int | cef_time_from_basetime (const cef_basetime_t from, cef_time_t *to) |
Converts cef_basetime_t to cef_time_t. More... | |
CEF_EXPORT cef_basetime_t cef_basetime_now | ( | void | ) |
Retrieve the current system time.
CEF_EXPORT int cef_time_delta | ( | const cef_time_t * | cef_time1, |
const cef_time_t * | cef_time2, | ||
long long * | delta | ||
) |
Retrieve the delta in milliseconds between two time values.
Returns true (1) on success and false (0) on failure.
CEF_EXPORT int cef_time_from_basetime | ( | const cef_basetime_t | from, |
cef_time_t * | to | ||
) |
Converts cef_basetime_t to cef_time_t.
Returns true (1) on success and false (0) on failure.
CEF_EXPORT int cef_time_from_doublet | ( | double | time, |
cef_time_t * | cef_time | ||
) |
CEF_EXPORT int cef_time_from_timet | ( | time_t | time, |
cef_time_t * | cef_time | ||
) |
CEF_EXPORT int cef_time_now | ( | cef_time_t * | cef_time | ) |
Retrieve the current system time.
Returns true (1) on success and false (0) on failure.
CEF_EXPORT int cef_time_to_basetime | ( | const cef_time_t * | from, |
cef_basetime_t * | to | ||
) |
Converts cef_time_t to cef_basetime_t.
Returns true (1) on success and false (0) on failure.
CEF_EXPORT int cef_time_to_doublet | ( | const cef_time_t * | cef_time, |
double * | time | ||
) |
Converts cef_time_t to/from a double which is the number of seconds since epoch (Jan 1, 1970).
Webkit uses this format to represent time. A value of 0 means "not initialized". Returns true (1) on success and false (0) on failure.
CEF_EXPORT int cef_time_to_timet | ( | const cef_time_t * | cef_time, |
time_t * | time | ||
) |
Converts cef_time_t to/from time_t.
Returns true (1) on success and false (0) on failure.