HomeSort by relevance Sort by last modified time
    Searched refs:week (Results 1 - 25 of 80) sorted by null

1 2 3 4

  /external/chromium_org/ui/android/java/src/org/chromium/ui/picker/
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 131 int week = WeekPicker.getWeekForDate(cal); local
132 showPickerDialog(dialogType, year, 0, 0, 0, 0, 0, 0, week, min, max, step);
211 int hourOfDay, int minute, int second, int millis, int week,
247 year, week, min, max);
353 int week) {
364 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/page/
PagePopupController.cpp 98 DateComponents week;
99 bool setWeekResult = week.setWeek(year, weekNumber);
101 String localizedWeek = m_popupClient->locale().formatDateTime(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;
376 * @param {!number} week
378 function Week(year, week) {
388 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/chrome/browser/resources/chromeos/chromevox/common/
date_widget.js 30 if (dateElem.type == 'month' || dateElem.type == 'week') {
64 * The previous value of the week field.
139 case 'week':
152 weekString = '0' + weekString; // Week format is WXX.
174 // week == ww/yyyy
178 if (this.dateElem_.type == 'week') {
211 var week = -1;
216 if (this.dateElem_.type == 'week') {
217 week = parseInt(splitDate[1].replace('W', ''), 10);
231 if (week != this.pWeek_)
    [all...]
  /external/chromium_org/content/public/android/javatests/src/org/chromium/content/browser/input/
InputDialogContainerTest.java 360 int hourOfDay, int minute, int second, int millis, int week,
370 mExpectedWeek = week;
379 int hourOfDay, int minute, int second, int millis, int week,
389 assertEquals(mExpectedWeek, week);
399 int week) {
403 week);
  /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/core/css/
themeInputMultipleFields.css 10 input[type="week" i] {
42 input::-webkit-datetime-edit-week-field,
59 input::-webkit-datetime-edit-week-field:focus,
68 input::-webkit-datetime-edit-week-field[disabled],
91 input[type="week" i]::-webkit-inner-spin-button {
  /external/chromium_org/third_party/WebKit/Source/platform/
DateComponents.h 44 // * Week type: year-week
69 Week,
80 int week() const { return m_week; } function in class:blink::DateComponents
110 // Sets year and week.
133 // For Week type. Updates m_year and m_week.
141 // Another initializer for Week type. Updates m_year and m_week.
164 static inline double maximumWeek() { return 8639999568000000.0; } // 275760-09-08, the Monday of the week including 275760-09-13.
176 // Returns the maximum week number in this DateComponents's year.
DateComponents.cpp 42 // HTML5 specification defines minimum week of year is one.
45 // HTML5 specification defines maximum week of year is 53.
50 static const int maximumWeekInMaximumYear = 37; // The week of 275760-09-13
385 int week; local
386 if (!toInt(src, index, 2, week) || week < minimumWeekNumber || week > maxWeekNumberInYear())
388 if (m_year == maximumYear() && week > maximumWeekInMaximumYear)
390 m_week = week;
392 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 101 if (source == InputTypeNames::week)
DateTimeChooserImpl.cpp 98 else if (type == InputTypeNames::week)
115 } else if (m_parameters.type == 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
560 int week = (fields[DAY_OF_YEAR] - 1 + daysFromStart) \/ 7 local
1174 int week = (fields[day] - ((fields[day] - 1) \/ 7 * 7) - 1 + mod) \/ 7 + 1; local
1198 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 149 // Bits used in EAS recurrences for days of the week
253 // MSFT day of week starts w/ Sunday = 0; RRule starts w/ Sunday = 1
256 setWord(bytes, offset + MSFT_SYSTEMTIME_DAY, rrule.week < 0 ? 5 : rrule.week);
270 // MSFT day of week starts w/ Sunday = 0; TimeZone starts w/ Sunday = 1
300 // MSFT day of week starts w/ Sunday = 0; TimeZone starts w/ Sunday = 1
408 int week; field in class:CalendarUtilities.RRule
424 * Create an RRULE based on month, day of week, and week #
426 * @param _dayOfWeek the day of the week (1 = SU, 7 = SA
463 int week = calendar.get(Calendar.DAY_OF_WEEK_IN_MONTH); local
    [all...]

Completed in 1898 milliseconds

1 2 3 4