Lines Matching refs:seconds
283 * 0~59 for seconds per minute
321 /* Seconds (0-59), not consider of the leap seconds in DST. */
336 INT64 seconds, days;
345 seconds = mktime(&time);
347 if (seconds == -1) {
350 days = seconds / SECSPERDAY;
490 STATIC BOOL CheckDstPeriodInner(const struct tm * const tm, INT64 seconds, INT64 dstStart, INT64 dstEnd)
495 if ((seconds >= dstStart) && (seconds < dstStart + g_dstForwardSeconds)) {
500 if ((seconds > dstEnd) && (seconds <= dstEnd + g_dstForwardSeconds)) {
512 if ((seconds < dstStart) || (seconds >= dstEnd)) {
519 BOOL CheckWithinDstPeriod(const struct tm * const tm, INT64 seconds)
532 /* the input-param of seconds is unused in this case. */
533 seconds = mktime(&time);
534 if (seconds == -1) {
539 if (gmtime_r(&seconds, &time) == NULL) {
550 return CheckDstPeriodInner(tm, seconds, dstStart, dstEnd);
578 if ((swForwardSeconds < 0) || (swForwardSeconds >= 24 * 3600)) { /* seconds per day 24 * 3600 */