Searched refs:offset_hms (Results 1 – 1 of 1) sorted by relevance
111 int offset_hms, offset_day; in julian_adj() local117 offset_hms = offset_sec - (offset_day * SECS_PER_DAY); in julian_adj()120 offset_hms += tm->tm_hour * 3600 + tm->tm_min * 60 + tm->tm_sec; in julian_adj()122 if (offset_hms >= SECS_PER_DAY) { in julian_adj()124 offset_hms -= SECS_PER_DAY; in julian_adj()125 } else if (offset_hms < 0) { in julian_adj()127 offset_hms += SECS_PER_DAY; in julian_adj()146 *psec = offset_hms; in julian_adj()