HomeSort by relevance Sort by last modified time
    Searched full:weekday (Results 1 - 25 of 552) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /prebuilts/go/darwin-x86/test/fixedbugs/
bug381.go 15 // bug381.go:30: cannot use 3 (type time.Weekday) as type int in function argument
17 // bug381.go:30: cannot use time.Wednesday (type time.Weekday) as type int in function argument
  /prebuilts/go/linux-x86/test/fixedbugs/
bug381.go 15 // bug381.go:30: cannot use 3 (type time.Weekday) as type int in function argument
17 // bug381.go:30: cannot use time.Wednesday (type time.Weekday) as type int in function argument
  /packages/apps/TV/src/com/android/tv/recommendation/
RoutineWatchEvaluator.java 181 sameDay = (t1.weekDay == t2.weekDay);
189 // Same day if next day of t2's start day equals to t1's start day. (1 <= weekDay <= 7)
190 sameDay = (t1.weekDay == ((t2.weekDay % 7) + 1));
232 final int weekDay;
239 int weekDay = time.get(Calendar.DAY_OF_WEEK);
243 boolean dayChanged = (weekDay != time.get(Calendar.DAY_OF_WEEK));
254 return new ProgramTime(startTimeOfDayInSec, endTimeOfDayInSec, weekDay, dayChanged);
258 int startTimeOfDayInSec, int endTimeOfDayInSec, int weekDay, boolean dayChanged)
    [all...]
  /packages/apps/Calendar/src/com/android/calendar/
EventRecurrenceFormatter.java 97 int day = EventRecurrence.timeDay2Day(recurrence.startDate.weekDay);
106 int weekday = recurrence.startDate.weekDay; local
108 cacheMonthRepeatStrings(r, weekday);
113 sb.append(mMonthRepeatByDayOfWeekStrs[weekday][dayNumber]);
127 private static void cacheMonthRepeatStrings(Resources r, int weekday) {
141 if (mMonthRepeatByDayOfWeekStrs[weekday] == null) {
142 mMonthRepeatByDayOfWeekStrs[weekday] =
143 r.getStringArray(mMonthRepeatByDayOfWeekIds[weekday]);
CalendarViewAdapter.java 179 TextView weekDay = (TextView) v.findViewById(R.id.top_button_weekday);
184 weekDay.setVisibility(View.VISIBLE);
185 weekDay.setText(buildDayOfWeek());
190 weekDay.setVisibility(View.VISIBLE);
191 weekDay.setText(buildWeekNum());
193 weekDay.setVisibility(View.GONE);
198 weekDay.setVisibility(View.GONE);
202 weekDay.setVisibility(View.VISIBLE);
203 weekDay.setText(buildDayOfWeek());
391 int dayOfWeek = t.weekDay;
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
calendar.py 13 "firstweekday", "isleap", "leapdays", "weekday", "monthrange",
29 def __init__(self, weekday):
30 self.weekday = weekday
32 return "bad weekday number %r; must be 0 (Monday) to 6 (Sunday)" % self.weekday
110 def weekday(year, month, day): function
111 """Return weekday (0-6 ~ Mon-Sun) for year (1970-...), month (1-12),
113 return datetime.date(year, month, day).weekday()
117 """Return weekday (0-6 ~ Mon-Sun) and number of days (28-31) for
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
calendar.py 13 "firstweekday", "isleap", "leapdays", "weekday", "monthrange",
29 def __init__(self, weekday):
30 self.weekday = weekday
32 return "bad weekday number %r; must be 0 (Monday) to 6 (Sunday)" % self.weekday
110 def weekday(year, month, day): function
111 """Return weekday (0-6 ~ Mon-Sun) for year (1970-...), month (1-12),
113 return datetime.date(year, month, day).weekday()
117 """Return weekday (0-6 ~ Mon-Sun) and number of days (28-31) for
    [all...]
_strptime.py 35 f_weekday -- full weekday names (7-item list)
36 a_weekday -- abbreviated weekday names (7-item list)
278 first_weekday = datetime_date(year, 1, 1).weekday()
337 # weekday and julian defaulted to -1 so as to signal need to calculate
339 weekday = julian = -1
394 weekday = locale_time.f_weekday.index(found_dict['A'].lower())
396 weekday = locale_time.a_weekday.index(found_dict['a'].lower())
398 weekday = int(found_dict['w'])
399 if weekday == 0:
400 weekday = 6
    [all...]
  /external/toolchain-utils/
buildbot_test_llvm.py 55 def __init__(self, board, chromeos_root, weekday, patches, compiler):
66 if not weekday:
69 self._weekday = weekday
114 '--weekday',
116 dest='weekday',
143 options.weekday, options.patches, options.compiler)
154 fv = ToolchainVerifier(board, options.chromeos_root, options.weekday,
  /prebuilts/gdb/darwin-x86/lib/python2.7/
calendar.py 13 "firstweekday", "isleap", "leapdays", "weekday", "monthrange",
29 def __init__(self, weekday):
30 self.weekday = weekday
32 return "bad weekday number %r; must be 0 (Monday) to 6 (Sunday)" % self.weekday
110 def weekday(year, month, day): function
111 """Return weekday (0-6 ~ Mon-Sun) for year (1970-...), month (1-12),
113 return datetime.date(year, month, day).weekday()
117 """Return weekday (0-6 ~ Mon-Sun) and number of days (28-31) fo
    [all...]
_strptime.py 35 f_weekday -- full weekday names (7-item list)
36 a_weekday -- abbreviated weekday names (7-item list)
278 first_weekday = datetime_date(year, 1, 1).weekday()
338 # weekday and julian defaulted to -1 so as to signal need to calculate
340 weekday = julian = -1
395 weekday = locale_time.f_weekday.index(found_dict['A'].lower())
397 weekday = locale_time.a_weekday.index(found_dict['a'].lower())
399 weekday = int(found_dict['w'])
400 if weekday == 0:
401 weekday =
    [all...]
  /prebuilts/gdb/linux-x86/lib/python2.7/
calendar.py 13 "firstweekday", "isleap", "leapdays", "weekday", "monthrange",
29 def __init__(self, weekday):
30 self.weekday = weekday
32 return "bad weekday number %r; must be 0 (Monday) to 6 (Sunday)" % self.weekday
110 def weekday(year, month, day): function
111 """Return weekday (0-6 ~ Mon-Sun) for year (1970-...), month (1-12),
113 return datetime.date(year, month, day).weekday()
117 """Return weekday (0-6 ~ Mon-Sun) and number of days (28-31) fo
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
calendar.py 13 "firstweekday", "isleap", "leapdays", "weekday", "monthrange",
29 def __init__(self, weekday):
30 self.weekday = weekday
32 return "bad weekday number %r; must be 0 (Monday) to 6 (Sunday)" % self.weekday
110 def weekday(year, month, day): function
111 """Return weekday (0-6 ~ Mon-Sun) for year (1970-...), month (1-12),
113 return datetime.date(year, month, day).weekday()
117 """Return weekday (0-6 ~ Mon-Sun) and number of days (28-31) fo
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/
calendar.py 13 "firstweekday", "isleap", "leapdays", "weekday", "monthrange",
29 def __init__(self, weekday):
30 self.weekday = weekday
32 return "bad weekday number %r; must be 0 (Monday) to 6 (Sunday)" % self.weekday
110 def weekday(year, month, day): function
111 """Return weekday (0-6 ~ Mon-Sun) for year (1970-...), month (1-12),
113 return datetime.date(year, month, day).weekday()
117 """Return weekday (0-6 ~ Mon-Sun) and number of days (28-31) fo
    [all...]
  /external/python/cpython2/Doc/library/
calendar.rst 17 the week to Sunday (6) or to any other weekday. Parameters that specify dates
79 weeks. Weeks are lists of seven tuples of day numbers and weekday
101 numbers and weekday numbers. Day numbers outside this month are zero.
125 on the first weekday as specified in the constructor or set by the
139 the first weekday as specified in the constructor or set by the
183 constructor and will return month and weekday names in the specified locale.
184 If this locale includes an encoding all strings containing month and weekday
193 constructor and will return month and weekday names in the specified
195 weekday names will be returned as unicode.
209 .. function:: setfirstweekday(weekday)
    [all...]
  /external/python/cpython3/Doc/library/
calendar.rst 18 the week to Sunday (6) or to any other weekday. Parameters that specify dates
78 weeks. Weeks are lists of seven tuples of day numbers and weekday
100 numbers and weekday numbers. Day numbers outside this month are zero.
121 on the first weekday as specified in the constructor or set by the
135 the first weekday as specified in the constructor or set by the
177 constructor and will return month and weekday names in the specified locale.
178 If this locale includes an encoding all strings containing month and weekday
185 constructor and will return month and weekday names in the specified
187 weekday names will be returned as unicode.
198 .. function:: setfirstweekday(weekday)
    [all...]
  /external/python/cpython2/Lib/
calendar.py 13 "firstweekday", "isleap", "leapdays", "weekday", "monthrange",
29 def __init__(self, weekday):
30 self.weekday = weekday
32 return "bad weekday number %r; must be 0 (Monday) to 6 (Sunday)" % self.weekday
110 def weekday(year, month, day): function
111 """Return weekday (0-6 ~ Mon-Sun) for year (1970-...), month (1-12),
113 return datetime.date(year, month, day).weekday()
117 """Return weekday (0-6 ~ Mon-Sun) and number of days (28-31) fo
    [all...]
_strptime.py 35 f_weekday -- full weekday names (7-item list)
36 a_weekday -- abbreviated weekday names (7-item list)
282 first_weekday = datetime_date(year, 1, 1).weekday()
345 # weekday and julian defaulted to None so as to signal need to calculate
347 weekday = julian = None
402 weekday = locale_time.f_weekday.index(found_dict['A'].lower())
404 weekday = locale_time.a_weekday.index(found_dict['a'].lower())
406 weekday = int(found_dict['w'])
407 if weekday == 0:
408 weekday =
    [all...]
  /external/python/cpython3/Lib/
_strptime.py 37 f_weekday -- full weekday names (7-item list)
38 a_weekday -- abbreviated weekday names (7-item list)
288 first_weekday = datetime_date(year, 1, 1).weekday()
306 """Calculate the Julian day based on the ISO 8601 year, week, and weekday.
376 # weekday and julian defaulted to None so as to signal need to calculate
378 weekday = julian = None
435 weekday = locale_time.f_weekday.index(found_dict['A'].lower())
437 weekday = locale_time.a_weekday.index(found_dict['a'].lower())
439 weekday = int(found_dict['w'])
440 if weekday == 0
    [all...]
calendar.py 14 "firstweekday", "isleap", "leapdays", "weekday", "monthrange",
32 def __init__(self, weekday):
33 self.weekday = weekday
35 return "bad weekday number %r; must be 0 (Monday) to 6 (Sunday)" % self.weekday
113 def weekday(year, month, day): function
114 """Return weekday (0-6 ~ Mon-Sun) for year (1970-...), month (1-12),
116 return datetime.date(year, month, day).weekday()
120 """Return weekday (0-6 ~ Mon-Sun) and number of days (28-31) fo
    [all...]
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/asctime/
1-1.c 12 #define WEEKDAY 0
42 time_ptr.tm_wday = WEEKDAY;
  /packages/apps/DeskClock/src/com/android/deskclock/uidata/
FormattedStringModel.java 50 /** Single-character version of weekday names; e.g.: 'S', 'M', 'T', 'W', 'T', 'F', 'S' */
53 /** Full weekday names; e.g.: 'Sunday', 'Monday', 'Tuesday', etc. */
140 * @return single-character weekday name; e.g.: 'S', 'M', 'T', 'W', 'T', 'F', 'S'
149 final String weekday = format.format(calendar.getTime()); local
150 mShortWeekdayNames.put(i, weekday);
168 * @return full weekday name; e.g.: 'Sunday', 'Monday', 'Tuesday', etc.
177 final String weekday = format.format(calendar.getTime()); local
178 mLongWeekdayNames.put(i, weekday);
  /external/icu/android_icu4j/src/main/java/android/icu/util/
SimpleDateRule.java 49 * Construct a rule for a weekday within a month, e.g. the first Monday.
187 int weekday = c.get(Calendar.DAY_OF_WEEK); local
189 //System.out.println(" weekday = " + weekday);
196 delta = (dayOfWeek - weekday + 7) % 7;
201 delta = -((dayOfWeek + weekday + 7) % 7);
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
SimpleDateRule.java 49 * Construct a rule for a weekday within a month, e.g. the first Monday.
192 int weekday = c.get(Calendar.DAY_OF_WEEK); local
194 //System.out.println(" weekday = " + weekday);
201 delta = (dayOfWeek - weekday + 7) % 7;
206 delta = -((dayOfWeek + weekday + 7) % 7);
  /external/icu/icu4c/source/i18n/unicode/
dtfmtsym.h 296 * Short width is currently only supported for weekday names.
331 * Gets wide weekday strings. For example: "Sunday", "Monday", etc.
333 * @return the weekday strings. (DateFormatSymbols retains ownership.)
340 * Sets wide weekday strings. For example: "Sunday", "Monday", etc.
341 * @param weekdays the new weekday strings. (not adopted; caller retains ownership)
348 * Gets abbreviated weekday strings. For example: "Sun", "Mon", etc. (Note: The method name is
349 * misleading; it does not get the CLDR-style "short" weekday strings, e.g. "Su", "Mo", etc.)
351 * @return the abbreviated weekday strings. (DateFormatSymbols retains ownership.)
357 * Sets abbreviated weekday strings. For example: "Sun", "Mon", etc. (Note: The method name is
358 * misleading; it does not set the CLDR-style "short" weekday strings, e.g. "Su", "Mo", etc.
    [all...]

Completed in 64 milliseconds

1 2 3 4 5 6 7 8 91011>>