Searched refs:localTimeSeconds (Results 1 – 1 of 1) sorted by relevance
364 static double calculateDSTOffsetSimple(double localTimeSeconds, double utcOffset) in calculateDSTOffsetSimple() argument366 if (localTimeSeconds > maxUnixTime) in calculateDSTOffsetSimple()367 localTimeSeconds = maxUnixTime; in calculateDSTOffsetSimple()368 else if (localTimeSeconds < 0) // Go ahead a day to make localtime work (does not work with 0) in calculateDSTOffsetSimple()369 localTimeSeconds += secondsPerDay; in calculateDSTOffsetSimple()372 time_t localTime = static_cast<time_t>(localTimeSeconds); in calculateDSTOffsetSimple()