Home | History | Annotate | Download | only in Modules

Lines Matching refs:minute

434                         "minute must be in 0..59");
590 int *hour, int *minute, int *second,
594 normalize_pair(minute, second, 60);
595 normalize_pair(hour, minute, 60);
724 int *minute, int *second, int *microsecond)
728 int *vals[3] = {hour, minute, second};
772 parse_isoformat_time(const char *dtstr, size_t dtlen, int *hour, int *minute,
795 int rv = parse_hh_mm_ss_ff(dtstr, tzinfo_pos, hour, minute, second,
883 new_datetime_ex2(int year, int month, int day, int hour, int minute,
892 if (check_time_args(hour, minute, second, usecond, fold) < 0) {
904 DATE_SET_MINUTE(self, minute);
917 new_datetime_ex(int year, int month, int day, int hour, int minute,
920 return new_datetime_ex2(year, month, day, hour, minute, second, usecond,
929 new_datetime_subclass_fold_ex(int year, int month, int day, int hour, int minute,
935 dt = new_datetime(year, month, day, hour, minute, second, usecond,
944 minute,
954 new_datetime_subclass_ex(int year, int month, int day, int hour, int minute,
957 return new_datetime_subclass_fold_ex(year, month, day, hour, minute,
964 new_time_ex2(int hour, int minute, int second, int usecond,
970 if (check_time_args(hour, minute, second, usecond, fold) < 0) {
982 TIME_SET_MINUTE(self, minute);
995 new_time_ex(int hour, int minute, int second, int usecond,
998 return new_time_ex2(hour, minute, second, usecond, tzinfo, 0, type);
2413 PyObject *minute = NULL;
2429 &ms, &minute, &hour, &week) == 0)
2454 if (minute) {
2455 y = accum("minutes", x, minute, us_per_minute, &leftover_us);
3905 {"minute", (getter)time_minute},
3917 static char *time_kws[] = {"hour", "minute", "second", "microsecond",
3958 int minute = 0;
4004 &hour, &minute, &second, &usecond,
4006 self = new_time_ex2(hour, minute, second, usecond, tzinfo, fold,
4358 int hour = 0, minute = 0, second = 0, microsecond = 0;
4361 &hour, &minute, &second, &microsecond,
4377 t = new_time(hour, minute, second, microsecond, tzinfo, 0);
4380 hour, minute, second, microsecond, tzinfo);
4474 PyDoc_STR("time([hour[, minute[, second[, microsecond[, tzinfo]]]]]) --> a time object\n\
4569 {"minute", (getter)datetime_minute},
4582 "year", "month", "day", "hour", "minute", "second",
4627 int minute = 0;
4673 &year, &month, &day, &hour, &minute,
4676 hour, minute, second, usecond,
4694 int hour, int minute, int second)
4705 return ((ordinal * 24 + hour) * 60 + minute) * 60 + second;
4739 int year, month, day, hour, minute, second, fold = 0;
4748 minute = tm.tm_min;
4777 hour, minute, second);
4791 return new_datetime_subclass_fold_ex(year, month, day, hour, minute,
5037 int hour = 0, minute = 0, second = 0, microsecond = 0;
5063 rv = parse_isoformat_time(p, len, &hour, &minute, &second,
5075 PyObject *dt = new_datetime_subclass_ex(year, month, day, hour, minute,
5142 int minute = DATE_GET_MINUTE(date);
5149 &hour, &minute, &second, &microsecond) < 0) {
5154 hour, minute, second, microsecond,
5743 int hour, int minute, int second, int fold);
5895 int hour, int minute, int second, int fold)
5898 t = utc_to_seconds(year, month, day, hour, minute, second);
6176 PyDoc_STR("datetime(year, month, day[, hour[, minute[, second[, microsecond[,tzinfo]]]]])\n\