/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/input/ |
WeekPicker.java | 32 * Creates a date object from the |year| and |week|. 34 public static Calendar createDateFromWeek(int year, int week) { 41 date.set(Calendar.WEEK_OF_YEAR, week); 65 int week = date.get(Calendar.WEEK_OF_YEAR); local 66 if (month == 0 && week > 51) { 68 } else if (month == 11 && week == 1) { 79 protected void setCurrentDate(int year, int week) { 80 Calendar date = createDateFromWeek(year, week); 91 // Create a date in the middle of the year, where the week year matches the year. 105 * @return The selected week [all...] |
InputDialogContainer.java | 132 int week = WeekPicker.getWeekForDate(cal); local 133 showPickerDialog(dialogType, year, 0, 0, 0, 0, 0, 0, week, min, max, step); 212 int hourOfDay, int minute, int second, int millis, int week, 248 year, week, min, max); 354 int week) { 365 WeekPicker.createDateFromWeek(year, week).getTimeInMillis());
|
/external/chromium_org/chrome/browser/history/ |
visit_filter.cc | 126 // Decay score by half each week. 191 base::Time week, 197 if (week.is_null()) 198 week = base::Time::Now(); 199 week.LocalExplode(&exploded_time); 203 base::Time day_base = week.LocalMidnight(); 225 base::Time week, 229 if (week.is_null()) 230 week = base::Time::Now(); 236 week.LocalExplode(&exploded_time) [all...] |
visit_filter.h | 18 // out visits by time of the day, day of the week, workdays, holidays, duration 63 // the week. 64 // |day| - day of the week: 0 - sunday, 1 - monday, etc. 120 // |day| could be outside of the range: -4 (3 - 7) means Wednesday last week, 123 base::Time week, 129 base::Time week,
|
/external/chromium_org/third_party/WebKit/Source/core/html/forms/ |
TextInputType.cpp | 55 else if (equalIgnoringCase(type, InputTypeNames::week))
|
WeekInputType.cpp | 63 return InputTypeNames::week;
|
/external/chromium_org/third_party/WebKit/Source/web/resources/ |
calendarPicker.css | 60 .week-number-cell, 71 .week-number-cell { 89 .week-number-cell.highlighted, 94 .week-number-cell.highlighted.disabled, 100 .week-number-cell.selected, 105 .week-number-cell.disabled, 119 .week-number-label, 120 .week-day-label { 128 .week-number-label {
|
calendarPicker.js | 58 weekLabel: "Week", 143 * @return {?Day|Week|Month} 149 var week = Week.parse(dateString); 150 if (week) 151 return week; 364 * @param {!number} week 366 function Week(year, week) { 376 this.week = week [all...] |
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/ |
Utils.java | 85 * the Monday for that week. 87 * This assumes that the week containing the {@link Time#EPOCH_JULIAN_DAY} 88 * is considered week 0. It returns the Julian day for the Monday 89 * {@code week} weeks after the Monday of the week containing the epoch. 91 * @param week Number of weeks since the epoch 92 * @return The julian day for the Monday of the given week since the epoch 94 public static int getJulianMondayFromWeeksSinceEpoch(int week) { 95 return MONDAY_BEFORE_JULIAN_EPOCH + week * 7; 99 * Returns the week since {@link Time#EPOCH_JULIAN_DAY} (Jan 1, 1970 [all...] |
/external/chromium_org/content/public/android/javatests/src/org/chromium/content/browser/input/ |
InputDialogContainerTest.java | 359 int hourOfDay, int minute, int second, int millis, int week, 369 mExpectedWeek = week; 378 int hourOfDay, int minute, int second, int millis, int week, 388 assertEquals(mExpectedWeek, week); 397 int week) { 401 week);
|
/external/chromium/chrome/common/extensions/docs/examples/api/history/showHistory/ |
typedUrls.js | 35 // To look for history items visited in the last week, 36 // subtract a week of microseconds from the current time. 46 'startTime': oneWeekAgo // that was accessed less than one week ago.
|
/external/chromium_org/chrome/common/extensions/docs/examples/api/history/showHistory/ |
typedUrls.js | 39 // To look for history items visited in the last week, 40 // subtract a week of microseconds from the current time. 50 'startTime': oneWeekAgo // that was accessed less than one week ago.
|
/external/chromium_org/third_party/WebKit/Source/platform/ |
DateComponents.h | 44 // * Week type: year-week 69 Week, 79 int week() const { return m_week; } function in class:WebCore::DateComponents 109 // Sets year and week. 132 // For Week type. Updates m_year and m_week. 161 static inline double maximumWeek() { return 8639999568000000.0; } // 275760-09-08, the Monday of the week including 275760-09-13. 173 // Returns the maximum week number in this DateComponents's year.
|
DateComponents.cpp | 44 // HTML5 specification defines minimum week of year is one. 47 // HTML5 specification defines maximum week of year is 53. 52 static const int maximumWeekInMaximumYear = 37; // The week of 275760-09-13 382 int week; local 383 if (!toInt(src, index, 2, week) || week < minimumWeekNumber || week > maxWeekNumberInYear()) 385 if (m_year == maximumYear() && week > maximumWeekInMaximumYear) 387 m_week = week; 389 m_type = Week; [all...] |
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-0.9/ |
date-format-tofte.js | 118 // A full textual representation of the day of the week 191 // there's a chance it's "week 1" of next year. 211 // return that week. 216 // week 1, is the week that has the first thursday in it. 227 // Numeric representation of the day of the week
|
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-0.9.1/ |
date-format-tofte.js | 118 // A full textual representation of the day of the week 191 // there's a chance it's "week 1" of next year. 211 // return that week. 216 // week 1, is the week that has the first thursday in it. 227 // Numeric representation of the day of the week
|
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-1.0/ |
date-format-tofte.js | 118 // A full textual representation of the day of the week 191 // there's a chance it's "week 1" of next year. 211 // return that week. 216 // week 1, is the week that has the first thursday in it. 227 // Numeric representation of the day of the week
|
/external/chromium_org/chrome/common/extensions/docs/examples/api/browsingData/basic/ |
popup.js | 55 * @param {string} timeframe One of 'hour', 'day', 'week', '4weeks', or 65 'week': 7 * 24 * 60 * 60 * 1000,
|
/external/chromium_org/third_party/WebKit/Source/web/ |
ExternalDateTimeChooser.cpp | 103 if (source == InputTypeNames::week)
|
DateTimeChooserImpl.cpp | 95 else if (type == WebCore::InputTypeNames::week) 112 } else if (m_parameters.type == WebCore::InputTypeNames::week) {
|
/libcore/luni/src/main/java/java/util/ |
GregorianCalendar.java | 65 * 53. Week 1 for a year is the earliest seven day period starting on 69 * {@code getFirstDayOfWeek()}, and the day of the week of January 1. 70 * Weeks between week 1 of one year and week 1 of the following year are 77 * reflecting ISO 8601 and many national standards), then week 1 of 1998 starts 79 * {@code getFirstDayOfWeek()} is {@code SUNDAY}, then week 1 of 81 * days of 1998 then are part of week 53 of 1997. 85 * 1 to 4 or 5. Week 1 of a month (the days with <code>WEEK_OF_MONTH = 89 * {@code getFirstDayOfWeek()}. Unlike week 1 of a year, week 1 of 550 int week = (fields[DAY_OF_YEAR] - 1 + daysFromStart) \/ 7 local 1140 int week = (fields[day] - ((fields[day] - 1) \/ 7 * 7) - 1 + mod) \/ 7 + 1; local 1164 int week = (fields[day] - ((fields[day] - 1) \/ 7 * 7) - 1 + mod) \/ 7 + 1; local [all...] |
/packages/apps/Calendar/src/com/android/calendar/ |
CalendarViewAdapter.java | 49 // Day view: show day of the week + full date underneath 50 // Week view: show the month + year 52 // Agenda view: show day of the week + full date underneath 66 // The current selected event's time, used to calculate the date and day of the week 188 case ViewType.WEEK: 226 case ViewType.WEEK: 304 // Used when the user selects a new day/week/month to watch 310 // Builds a string with the day of the week and the word yesterday/today/tomorrow 344 // Week: month day-day or month day - month day 385 // Calculate the start of the week, taking into account the "first day of the week 420 int week = Utils.getWeekNumberFromTime(mMilliTime, mContext); local [all...] |
/packages/apps/Exchange/src/com/android/exchange/utility/ |
CalendarUtilities.java | 148 // Bits used in EAS recurrences for days of the week 252 // MSFT day of week starts w/ Sunday = 0; RRule starts w/ Sunday = 1 255 setWord(bytes, offset + MSFT_SYSTEMTIME_DAY, rrule.week < 0 ? 5 : rrule.week); 269 // MSFT day of week starts w/ Sunday = 0; TimeZone starts w/ Sunday = 1 299 // MSFT day of week starts w/ Sunday = 0; TimeZone starts w/ Sunday = 1 407 int week; field in class:CalendarUtilities.RRule 423 * Create an RRULE based on month, day of week, and week # 425 * @param _dayOfWeek the day of the week (1 = SU, 7 = SA 462 int week = calendar.get(Calendar.DAY_OF_WEEK_IN_MONTH); local [all...] |
/frameworks/base/core/java/android/text/format/ |
Time.java | 47 * The Julian day of the Monday in the week of the epoch, December 29, 1969 89 * Day of week [0-6] 642 * Computes the week number according to ISO 8601. The current Time 648 * The first week of the year (week 1) is defined by ISO 8601 as the 649 * first week with four or more of its days in the starting year. 650 * Or equivalently, the week containing January 4. Or equivalently, 651 * the week with the year's first Thursday in it. 655 * The week number can be calculated by counting Thursdays. Week [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_datetime.py | 199 a = td(7) # One week 689 week = timedelta(7) 695 self.assertEqual(a + week, self.theclass(2002, 3, 9)) 696 self.assertEqual(a - week, self.theclass(2002, 2, 23)) 697 self.assertEqual(a + 52*week, self.theclass(2003, 3, 1)) 698 self.assertEqual(a - 52*week, self.theclass(2001, 3, 3)) 699 self.assertEqual((a + week) - a, week) 701 self.assertEqual((a - week) - a, -week) [all...] |