Class representing a time.
More...
#include "include/internal/cef_time_wrappers.h"
|
| int | year |
| | Four or five digit year "2007" (1601 to 30827 on Windows, 1970 to 2038 on 32-bit POSIX)
|
| |
| int | month |
| | 1-based month (values 1 = January, etc.)
|
| |
| int | day_of_week |
| | 0-based day of week (0 = Sunday, etc.)
|
| |
| int | day_of_month |
| | 1-based day of month (1-31)
|
| |
| int | hour |
| | Hour within the current day (0-23)
|
| |
| int | minute |
| | Minute within the current hour (0-59)
|
| |
| int | second |
| | Second within the current minute (0-59 plus leap seconds which may take it up to 60).
|
| |
| int | millisecond |
| | Milliseconds within the current second (0-999)
|
| |
Class representing a time.
◆ CefTime() [1/4]
◆ CefTime() [2/4]
◆ CefTime() [3/4]
| CefTime::CefTime |
( |
time_t |
r | ) |
|
|
inlineexplicit |
◆ CefTime() [4/4]
| CefTime::CefTime |
( |
double |
r | ) |
|
|
inlineexplicit |
◆ Delta()
| long long CefTime::Delta |
( |
const CefTime & |
other | ) |
|
|
inline |
Return the delta between this object and |other| in milliseconds.
◆ GetDoubleT()
| double CefTime::GetDoubleT |
( |
| ) |
const |
|
inline |
◆ GetTimeT()
| time_t CefTime::GetTimeT |
( |
| ) |
const |
|
inline |
◆ Now()
◆ SetDoubleT()
| void CefTime::SetDoubleT |
( |
double |
r | ) |
|
|
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".
◆ SetTimeT()
| void CefTime::SetTimeT |
( |
time_t |
r | ) |
|
|
inline |
The documentation for this class was generated from the following file: