Home
last modified time | relevance | path

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

/external/python/cpython2/Demo/scripts/
Dunbirthday.py38 maxday = 29
40 maxday = calendar.mdays[month]
41 if not (1 <= day <= maxday):
/external/libxml2/
Dxmlschemastypes.c3577 long xmon, xday, myear, minday, maxday; in xmlSchemaCompareDurations() local
3629 maxday = 0; in xmlSchemaCompareDurations()
3631 maxday = 366 * ((myear + 3) / 4) + in xmlSchemaCompareDurations()
3633 minday = maxday - 1; in xmlSchemaCompareDurations()
3638 maxday += dayRange[1][xmon]; in xmlSchemaCompareDurations()
3640 if ((maxday == minday) && (maxday == xday)) in xmlSchemaCompareDurations()
3642 if (maxday < xday) in xmlSchemaCompareDurations()
/external/python/cpython2/Lib/test/
Dtest_datetime.py638 for month, maxday in zip(range(1, 13), dim):
640 maxday += 1
641 for day in range(1, maxday+1):
/external/python/cpython3/Lib/test/
Ddatetimetester.py1049 for month, maxday in zip(range(1, 13), dim):
1051 maxday += 1
1052 for day in range(1, maxday+1):