Home | History | Annotate | Download | only in dateutil

Lines Matching refs:divmod

844                         daypos, timepos = divmod(pos, len(timeset))
846 daypos, timepos = divmod(pos-1, len(timeset))
901 div, mod = divmod(month, 12)
931 ndays, hour = divmod(hour+interval, 24)
952 nhours, minute = divmod(minute+interval, 60)
954 div, hour = divmod(hour+nhours, 24)
984 nminutes, second = divmod(second+interval, 60)
986 div, minute = divmod(minute+nminutes, 60)
989 div, hour = divmod(hour, 24)
1060 # Use divmod rather than % because we need to wrap negative nums.
1061 if i_gcd == 1 or divmod(num - start, i_gcd)[1] == 0:
1089 This returns a tuple of `divmod(n*interval, base)`, where `n` is the
1095 # Using divmod() over % to account for negative intervals
1096 div, value = divmod(value + self._interval, base)
1152 div, mod = divmod(wyearlen, 7)