/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 | 176 sameDay = (t1.weekDay == t2.weekDay); 181 // Same day if next day of t2's start day equals to t1's start day. (1 <= weekDay <= 7) 182 sameDay = (t1.weekDay == ((t2.weekDay % 7) + 1)); 223 final int weekDay; 230 int weekDay = time.get(Calendar.DAY_OF_WEEK); 234 boolean dayChanged = (weekDay != time.get(Calendar.DAY_OF_WEEK)); 240 return new ProgramTime(startTimeOfDayInSec, endTimeOfDayInSec, weekDay, dayChanged); 243 private ProgramTime(int startTimeOfDayInSec, int endTimeOfDayInSec, int weekDay, [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...] |
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/ |
TimeStatsAggregator.java | 40 static final String WEEKDAY = "Weekday"; 161 features.put(TIME_OF_WEEK, WEEKDAY); 165 features.put(DAY_OF_WEEK, getDayOfWeek(time.weekDay)); 166 if (time.weekDay == Time.SUNDAY || time.weekDay == Time.SATURDAY || 167 (time.weekDay == Time.FRIDAY && 171 features.put(TIME_OF_WEEK, WEEKDAY);
|
/external/v8/test/intl/date-format/ |
resolved-options.js | 53 assertFalse(resolved.hasOwnProperty('weekday')); 82 assertFalse(resolved.hasOwnProperty('weekday')); 86 'en-US', {weekday: 'short', era: 'short', year: 'numeric', month: 'short', 107 assertTrue(resolved.hasOwnProperty('weekday')); 108 assertEquals('short', resolved.weekday);
|
property-override.js | 47 'en-US', {weekday: 'short', era: 'short', year: 'numeric', month: 'short', 59 'second', 'timeZone', 'timeZoneName', 'weekday', 'year'
|
/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...] |
_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/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...] |
_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/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...] |
_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...] |
/external/v8/test/mjsunit/regress/ |
regress-builtinbust-7.js | 14 weekday: "long", 13 var options = { property in class:var.options
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
SimpleDateRule.java | 47 * Construct a rule for a weekday within a month, e.g. the first Monday. 185 int weekday = c.get(Calendar.DAY_OF_WEEK); local 187 //System.out.println(" weekday = " + weekday); 194 delta = (dayOfWeek - weekday + 7) % 7; 199 delta = -((dayOfWeek + weekday + 7) % 7);
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
SimpleDateRule.java | 47 * Construct a rule for a weekday within a month, e.g. the first Monday. 190 int weekday = c.get(Calendar.DAY_OF_WEEK); local 192 //System.out.println(" weekday = " + weekday); 199 delta = (dayOfWeek - weekday + 7) % 7; 204 delta = -((dayOfWeek + weekday + 7) % 7);
|
/external/icu/icu4c/source/i18n/unicode/ |
dtfmtsym.h | 287 * Short width is currently only supported for weekday names. 318 * Gets wide weekday strings. For example: "Sunday", "Monday", etc. 320 * @return the weekday strings. (DateFormatSymbols retains ownership.) 327 * Sets wide weekday strings. For example: "Sunday", "Monday", etc. 328 * @param weekdays the new weekday strings. (not adopted; caller retains ownership) 335 * Gets abbreviated weekday strings. For example: "Sun", "Mon", etc. (Note: The method name is 336 * misleading; it does not get the CLDR-style "short" weekday strings, e.g. "Su", "Mo", etc.) 338 * @return the abbreviated weekday strings. (DateFormatSymbols retains ownership.) 344 * Sets abbreviated weekday strings. For example: "Sun", "Mon", etc. (Note: The method name is 345 * misleading; it does not set the CLDR-style "short" weekday strings, e.g. "Su", "Mo", etc. [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/alarms/utils/ |
DayOrderUtils.java | 43 // Value from preferences corresponds to Calendar.<WEEKDAY> value
|
/libcore/ojluni/src/main/java/java/text/ |
DateFormatSymbols.java | 168 * Weekday strings. For example: "Sunday", "Monday", etc. An array 177 * Short weekday strings. For example: "Sun", "Mon", etc. An array 229 * Pretend to support 'L' and 'c' for now. It's meant for standalone weekday and 309 * Tiny weekday strings: "M", "F", "W" etc. 337 * Standalone weekday strings; "Monday", "Tuesday", "Wednesday" etc. 344 * Short standalone weekday strings; "Mon", "Tue", "Wed" etc. 351 * Tiny standalone weekday strings; "M", "T", "W" etc. 513 * Gets weekday strings. For example: "Sunday", "Monday", etc. 514 * @return the weekday strings. Use <code>Calendar.SUNDAY</code>, 522 * Sets weekday strings. For example: "Sunday", "Monday", etc [all...] |
/frameworks/base/core/java/android/text/format/ |
Time.java | 114 public int weekDay; 214 * to April 1. It also fills in weekDay, yearDay, isDst and gmtoff. 312 this.weekDay = 0; 389 * <code>allDay</code> is set to false. The fields <code>weekDay</code>, 486 weekDay = 0; 674 this.weekDay = 0; 793 this.weekDay = that.weekDay; 800 * Sets the fields. Sets weekDay, yearDay and gmtoff to 0, and isDst to -1. 811 this.weekDay = 0 [all...] |
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/text/ |
DateFormatSymbols.java | 371 * Returns weekday strings. For example: "Sunday", "Monday", etc. 372 * @return the weekday strings. Use <code>Calendar.SUNDAY</code>, 381 * Returns weekday strings. For example: "Sunday", "Monday", etc. 382 * @return the weekday strings. Use <code>Calendar.SUNDAY</code>, 405 * Sets weekday strings. For example: "Sunday", "Monday", etc. 406 * @param newWeekdays The new weekday strings. 430 * Sets weekday strings. For example: "Sunday", "Monday", etc. 431 * @param newWeekdays the new weekday strings. The array should 441 * Returns short weekday strings. For example: "Sun", "Mon", etc. 442 * @return the short weekday strings. Use <code>Calendar.SUNDAY</code> [all...] |
/external/icu/icu4j/main/tests/localespi/src/com/ibm/icu/dev/test/localespi/ |
DateFormatSymbolsTest.java | 165 // Weekday names should be identical for these three. 173 errln("FAIL: Different weekday name - index=" + i 179 errln("FAIL: Different weekday name - index=" + i
|