Home
last modified time | relevance | path

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

/external/webkit/JavaScriptCore/wtf/
DDateMath.cpp421 static double calculateDSTOffsetSimple(double localTimeSeconds, double utcOffset) in calculateDSTOffsetSimple() argument
423 if (localTimeSeconds > maxUnixTime) in calculateDSTOffsetSimple()
424 localTimeSeconds = maxUnixTime; in calculateDSTOffsetSimple()
425 else if (localTimeSeconds < 0) // Go ahead a day to make localtime work (does not work with 0) in calculateDSTOffsetSimple()
426 localTimeSeconds += secondsPerDay; in calculateDSTOffsetSimple()
429 double offsetTime = (localTimeSeconds * msPerSecond) + utcOffset; in calculateDSTOffsetSimple()
436 time_t localTime = static_cast<time_t>(localTimeSeconds); in calculateDSTOffsetSimple()