Home
last modified time | relevance | path

Searched refs:time_in_day_sec (Results 1 – 1 of 1) sorted by relevance

/external/v8/test/cctest/
Dtest-date.cc47 int time_in_day_sec = TimeInDay(time_sec * 1000, days) / 1000; in GetDaylightSavingsOffsetFromOS() local
50 Rule* rule = FindRuleFor(year, month, day, time_in_day_sec); in GetDaylightSavingsOffsetFromOS()
60 Rule* FindRuleFor(int year, int month, int day, int time_in_day_sec) { in FindRuleFor() argument
63 if (Match(&rules_[i], year, month, day, time_in_day_sec)) { in FindRuleFor()
70 bool Match(Rule* rule, int year, int month, int day, int time_in_day_sec) { in Match() argument
77 2 * 3600 > time_in_day_sec) in Match()
82 2 * 3600 <= time_in_day_sec) in Match()