v8
3.11.10(node0.8.26)
V8 is Google's open source JavaScript engine
|
Data Structures | |
struct | Rule |
Public Member Functions | |
DateCacheMock (int local_offset, Rule *rules, int rules_count) | |
Public Member Functions inherited from DateCache | |
DateCache () | |
virtual | ~DateCache () |
void | ResetDateCache () |
int | Weekday (int days) |
bool | IsLeap (int year) |
int | LocalOffsetInMs () |
const char * | LocalTimezone (int64_t time_ms) |
int | TimezoneOffset (int64_t time_ms) |
int64_t | ToLocal (int64_t time_ms) |
int64_t | ToUTC (int64_t time_ms) |
int64_t | EquivalentTime (int64_t time_ms) |
int | EquivalentYear (int year) |
void | YearMonthDayFromDays (int days, int *year, int *month, int *day) |
int | DaysFromYearMonth (int year, int month) |
Smi * | stamp () |
void * | stamp_address () |
Protected Member Functions | |
virtual int | GetDaylightSavingsOffsetFromOS (int64_t time_sec) |
virtual int | GetLocalOffsetFromOS () |
Additional Inherited Members | |
Static Public Member Functions inherited from DateCache | |
static int | DaysFromTime (int64_t time_ms) |
static int | TimeInDay (int64_t time_ms, int days) |
Static Public Attributes inherited from DateCache | |
static const int | kMsPerMin = 60 * 1000 |
static const int | kSecPerDay = 24 * 60 * 60 |
static const int64_t | kMsPerDay = kSecPerDay * 1000 |
static const int | kMaxEpochTimeInSec = kMaxInt |
static const int64_t | kMaxEpochTimeInMs |
static const int64_t | kMaxTimeInMs |
static const int64_t | kMaxTimeBeforeUTCInMs |
static const int | kInvalidLocalOffsetInMs = kMaxInt |
static const int | kInvalidStamp = -1 |
Definition at line 36 of file test-date.cc.
|
inline |
Definition at line 42 of file test-date.cc.
|
inlineprotectedvirtual |
Reimplemented from DateCache.
Definition at line 46 of file test-date.cc.
References v8::internal::NULL, and DateCacheMock::Rule::offset_sec.
|
inlineprotectedvirtual |
Reimplemented from DateCache.
Definition at line 56 of file test-date.cc.