Chromium Embedded Framework (CEF)
131.2.1+ge081753+chromium-131.0.6778.13
|
Class representing a time. More...
#include "include/internal/cef_time_wrappers.h"
Public Member Functions | |
CefTime () | |
CefTime (const cef_time_t &r) | |
CefTime (time_t r) | |
CefTime (double r) | |
void | SetTimeT (time_t r) |
Converts to/from time_t. More... | |
time_t | GetTimeT () const |
void | SetDoubleT (double r) |
Converts to/from a double which is the number of seconds since epoch (Jan 1, 1970). More... | |
double | GetDoubleT () const |
void | Now () |
Set this object to now. More... | |
long long | Delta (const CefTime &other) |
Return the delta between this object and |other| in milliseconds. More... | |
Additional Inherited Members | |
Public Attributes inherited from cef_time_t | |
int | year |
Four or five digit year "2007" (1601 to 30827 on Windows, 1970 to 2038 on 32-bit POSIX) More... | |
int | month |
1-based month (values 1 = January, etc.) More... | |
int | day_of_week |
0-based day of week (0 = Sunday, etc.) More... | |
int | day_of_month |
1-based day of month (1-31) More... | |
int | hour |
Hour within the current day (0-23) More... | |
int | minute |
Minute within the current hour (0-59) More... | |
int | second |
Second within the current minute (0-59 plus leap seconds which may take it up to 60). More... | |
int | millisecond |
Milliseconds within the current second (0-999) More... | |
Class representing a time.
|
inline |
|
inline |
|
inlineexplicit |
|
inlineexplicit |
|
inline |
Return the delta between this object and |other| in milliseconds.
|
inline |
|
inline |
|
inline |
Set this object to now.
|
inline |
Converts 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".
|
inline |
Converts to/from time_t.