Home
last modified time | relevance | path

Searched refs:weeks (Results 1 – 25 of 66) sorted by relevance

123

/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/duration/testdata/
Dtestdata_en.txt51 3 weeks ago
52 2 weeks ago
54 0 weeks
56 2 weeks from now
57 3 weeks from now
58 5 weeks from now
59 10 weeks from now
60 11 weeks from now
61 12 weeks from now
62 20 weeks from now
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/duration/testdata/
Dtestdata_en.txt51 3 weeks ago
52 2 weeks ago
54 0 weeks
56 2 weeks from now
57 3 weeks from now
58 5 weeks from now
59 10 weeks from now
60 11 weeks from now
61 12 weeks from now
62 20 weeks from now
[all …]
/external/python/dateutil/dateutil/test/
Dtest_relativedelta.py21 ccRD = rdChildClass(years=1, months=1, days=1, leapdays=1, weeks=1,
24 rd = relativedelta(years=1, months=1, days=1, leapdays=1, weeks=1,
65 self.assertEqual(self.now+relativedelta(months=+1, weeks=+1),
70 relativedelta(months=+1, weeks=+1, hour=10),
130 relativedelta(day=4, weeks=+14, weekday=MO(-1)),
329 rd = relativedelta(years=4, months=2, weeks=8, days=6)
330 self.assertEqual((rd.weeks, rd.days), (8, 8 * 7 + 6))
332 rd.weeks = 3
333 self.assertEqual((rd.weeks, rd.days), (3, 3 * 7 + 6))
389 rd = relativedelta(weeks=1.25)
[all …]
/external/toybox/toys/other/
Duptime.c58 int weeks = days/7; in uptime_main() local
62 weeks, (weeks!=1)?"s":"", in uptime_main()
/external/icu/android_icu4j/src/main/java/android/icu/util/
DAnnualTimeZoneRule.java114 int weeks = dateTimeRule.getRuleWeekInMonth(); in getStartInYear() local
115 if (weeks > 0) { in getStartInYear()
117 ruleDay += 7 * (weeks - 1); in getStartInYear()
122 ruleDay += 7 * (weeks + 1); in getStartInYear()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DAnnualTimeZoneRule.java124 int weeks = dateTimeRule.getRuleWeekInMonth(); in getStartInYear() local
125 if (weeks > 0) { in getStartInYear()
127 ruleDay += 7 * (weeks - 1); in getStartInYear()
132 ruleDay += 7 * (weeks + 1); in getStartInYear()
/external/python/dateutil/docs/
Drelativedelta.rst43 >>> NOW+relativedelta(months=+1, weeks=+1)
50 >>> TODAY+relativedelta(months=+1, weeks=+1, hour=10)
64 since it's a difference, and the weeks parameter
148 >>> datetime(1997,1,1)+relativedelta(day=4, weekday=MO(-1), weeks=+14)
Dexamples.rst41 >>> NOW+relativedelta(months=+1, weeks=+1)
48 >>> TODAY+relativedelta(months=+1, weeks=+1, hour=10)
62 since it's a difference, and the weeks parameter
146 >>> datetime(1997,1,1)+relativedelta(day=4, weekday=MO(-1), weeks=+14)
364 Weekly on Tuesday and Thursday for 5 weeks.
784 Weekly, for 4 weeks, plus one time on day 7, and not on day 16.
/external/python/cpython3/Lib/test/
Dtest_calendar.py607 def check_weeks(self, year, month, weeks): argument
609 self.assertEqual(len(cal), len(weeks))
610 for i in range(len(weeks)):
611 self.assertEqual(weeks[i], sum(day != 0 for day in cal[i]))
946 weeks = self.cal.monthdays2calendar(2017, 5)
947 self.assertIn('class="wed text-nowrap"', self.cal.formatweek(weeks[0]))
/external/python/cpython2/Doc/library/
Dcalendar.rst72 Return a list of the weeks in the month *month* of the *year* as full
73 weeks. Weeks are lists of seven :class:`datetime.date` objects.
78 Return a list of the weeks in the month *month* of the *year* as full
79 weeks. Weeks are lists of seven tuples of day numbers and weekday
85 Return a list of the weeks in the month *month* of the *year* as full
86 weeks. Weeks are lists of seven day numbers.
93 months (defaulting to 3). Each month contains between 4 and 6 weeks and
/external/python/dateutil/dateutil/
Drelativedelta.py92 years=0, months=0, days=0, leapdays=0, weeks=0, argument
165 self.days = days + weeks * 7
251 def weeks(self): member in relativedelta
254 @weeks.setter
255 def weeks(self, value): member in relativedelta
256 self.days = self.days - (self.weeks * 7) + value * 7
/external/python/cpython2/Lib/test/
Dtest_calendar.py324 def check_weeks(self, year, month, weeks): argument
326 self.assertEqual(len(cal), len(weeks))
327 for i in xrange(len(weeks)):
328 self.assertEqual(weeks[i], sum(day != 0 for day in cal[i]))
Dtest_datetime.py175 eq(td(), td(weeks=0, days=0, hours=0, minutes=0, seconds=0,
180 eq(td(weeks=1), td(days=7))
188 eq(td(weeks=1.0/7), td(days=1))
289 weeks=-7,
299 weeks=-7,
307 t1 += timedelta(weeks=7)
380 eq(str(td(weeks=-30, hours=23, minutes=12, seconds=34)),
517 timedelta(weeks=BadInt(1))
520 timedelta(weeks=BadLong(1))
529 timedelta(weeks=BadInt(1))
[all …]
/external/libcxx/src/
Dlocale.cpp4523 static string weeks[14]; in init_weeks() local
4524 weeks[0] = "Sunday"; in init_weeks()
4525 weeks[1] = "Monday"; in init_weeks()
4526 weeks[2] = "Tuesday"; in init_weeks()
4527 weeks[3] = "Wednesday"; in init_weeks()
4528 weeks[4] = "Thursday"; in init_weeks()
4529 weeks[5] = "Friday"; in init_weeks()
4530 weeks[6] = "Saturday"; in init_weeks()
4531 weeks[7] = "Sun"; in init_weeks()
4532 weeks[8] = "Mon"; in init_weeks()
[all …]
/external/icu/icu4c/source/i18n/
Dtzrule.cpp279 int32_t weeks = fDateTimeRule->getRuleWeekInMonth(); in getStartInYear() local
280 if (weeks > 0) { in getStartInYear()
282 ruleDay += 7 * (weeks - 1); in getStartInYear()
287 ruleDay += 7 * (weeks + 1); in getStartInYear()
/external/python/cpython3/Doc/library/
Dcalendar.rst96 Return a list of the weeks in the month *month* of the *year* as full
97 weeks. Weeks are lists of seven :class:`datetime.date` objects.
102 Return a list of the weeks in the month *month* of the *year* as full
103 weeks. Weeks are lists of seven tuples of day numbers and weekday
109 Return a list of the weeks in the month *month* of the *year* as full
110 weeks. Weeks are lists of seven day numbers.
117 months (defaulting to 3). Each month contains between 4 and 6 weeks and
/external/libcxx/test/std/utilities/time/
Dweeks.pass.cpp21 typedef std::chrono::weeks D; in main()
/external/curl/docs/
DRELEASE-PROCEDURE.md67 We do releases every 8 weeks on Wednesdays. If critical problems arise, we can
73 - During the first 4 weeks after a release, we allow new features and changes
/external/python/cpython2/Lib/
Dcalendar.py362 weeks = []
365 weeks.append('')
367 weeks.append(self.formatweek(cal[j], w))
368 a(formatstring(weeks, colwidth, c).rstrip())
/external/skia/site/
Dschedule.md9 point, for the next six weeks, only high priority fixes are checked into the branch.
/external/skqp/site/
Dschedule.md9 point, for the next six weeks, only high priority fixes are checked into the branch.
/external/python/cpython3/Lib/
Dcalendar.py395 weeks = []
398 weeks.append('')
400 weeks.append(self.formatweek(cal[j], w))
401 a(formatstring(weeks, colwidth, c).rstrip())
/external/python/cpython2/Misc/
DRFD36 Then, after a few weeks, we run the official CFV (Call For Votes).
37 The votes are then collected over a period of weeks. We need 100 more
/external/iperf3/docs/
D2017-06-06.txt6 We've done quite a bit of work the past few weeks getting the master
/external/gflags/
DREADME.md154 One major change of the project structure I have in mind for the next weeks
187 `gflags`. In the coming weeks, I'll be stepping down as
296 gflags 1.0rc2 was out for a few weeks without any issues, so gflags
320 If I don't hear any bad news for a few weeks, I'll release 1.0-final.

123