Home
last modified time | relevance | path

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

/freebsd-9-stable/contrib/ntp/libntp/
Dntp_calendar.c947 struct tm *utm, in ntpcal_rd_to_tm() argument
955 utm->tm_wday = rd % DAYSPERWEEK; in ntpcal_rd_to_tm()
956 if (utm->tm_wday < 0) in ntpcal_rd_to_tm()
957 utm->tm_wday += DAYSPERWEEK; in ntpcal_rd_to_tm()
961 utm->tm_year = split.hi - 1899; in ntpcal_rd_to_tm()
962 utm->tm_yday = split.lo; /* 0-based */ in ntpcal_rd_to_tm()
966 utm->tm_mon = split.hi; /* 0-based */ in ntpcal_rd_to_tm()
967 utm->tm_mday = split.lo + 1; /* 1-based */ in ntpcal_rd_to_tm()
1003 struct tm *utm, in ntpcal_daysec_to_tm() argument
1011 utm->tm_hour = ts[0]; in ntpcal_daysec_to_tm()
[all …]