/external/icu/icu4c/source/test/compat/ |
tzdate.c | 32 int64_t getSystemCurrentTime(char* systime, int year, int month, int day, int hour, int minute, int useCurrentTime); 39 int year, month, day, hour, minute; local 44 sysyear = year = month = day = 0; 53 day = atoi(argv[3]); 61 systemtime = getSystemCurrentTime(systime, sysyear, month, day, hour, minute, useCurrentTime); 109 int64_t getSystemCurrentTime(char* systime, int year, int month, int day, int hour, int minute, int useCurrentTime) { 121 ts.tm_mday = day;
|
/external/chromium-trace/catapult/catapult_build/perfbot_stats/ |
chrome_perf_stats.py | 30 USAGE = ('Usage: chrome_perf_stats.py <year> <month> <day>. If date is not ' 53 day = int(sys.argv[3]) 54 if day > 31 or day <= 0: 57 days = [day] 65 days = [yesterday.day] 90 for day, results in success_rates.iteritems(): 100 [day, float(success_rate_sum) / float(success_rate_count)]) 140 for day in days: 142 date_str = '%d-%02d-%02dT%02d:00Z' % (year, month, day, hour [all...] |
/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/ |
DatePickerBindingAdapter.java | 29 @InverseBindingMethod(type = DatePicker.class, attribute = "android:day", method = "getDayOfMonth"), 32 @BindingAdapter(value = {"android:year", "android:month", "android:day", 35 public static void setListeners(DatePicker view, int year, int month, int day, 41 if (day == 0) { 42 day = view.getDayOfMonth(); 45 view.init(year, month, day, listener); 53 view.init(year, month, day, oldListener);
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
HebrewCalendar.java | 23 * on the day of (an arithmetic approximation of) each new moon. Since the 153 * time of day in sync with that of the Gregorian calendar, we use 154 * midnight, rather than sunset the day before. 556 // counting from noon on the day before. BAHARAD is an abbreviation of 561 * Finds the day # of the first day in the given Hebrew year. 582 long day = cache.get(year); local 584 if (day == CalendarCache.EMPTY) { 587 long frac = months * MONTH_FRACT + BAHARAD; // Fractional part of day # 588 day = months * 29 + (frac / DAY_PARTS); // Whole # part of calculatio 834 long day = startOfYear(eyear); local [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
HebrewCalendar.java | 22 * on the day of (an arithmetic approximation of) each new moon. Since the 166 * time of day in sync with that of the Gregorian calendar, we use 167 * midnight, rather than sunset the day before. 580 // counting from noon on the day before. BAHARAD is an abbreviation of 585 * Finds the day # of the first day in the given Hebrew year. 606 long day = cache.get(year); local 608 if (day == CalendarCache.EMPTY) { 611 long frac = months * MONTH_FRACT + BAHARAD; // Fractional part of day # 612 day = months * 29 + (frac / DAY_PARTS); // Whole # part of calculatio 862 long day = startOfYear(eyear); local [all...] |
/external/icu/icu4c/source/i18n/ |
coptccal.cpp | 78 int32_t eyear, month, day, era, year; local 79 jdToCE(julianDay, getJDEpochOffset(), eyear, month, day); 93 internalSet(UCAL_DATE, day); 94 internalSet(UCAL_DAY_OF_YEAR, (30 * month) + day); 153 CopticCalendar::copticToJD(int32_t year, int32_t month, int32_t day) 155 return CECalendar::ceToJD(year, month, day, COPTIC_JD_EPOCH_OFFSET);
|
hebrwcal.cpp | 32 * time of day in sync with that of the Gregorian calendar, we use 33 * midnight, rather than sunset the day before. 363 // counting from noon on the day before. BAHARAD is an abbreviation of 368 * Finds the day # of the first day in the given Hebrew year. 390 int32_t day = CalendarCache::get(&gCache, year, status); local 392 if (day == 0) { 395 int64_t frac = (int64_t)months * MONTH_FRACT + BAHARAD; // Fractional part of day # 396 day = months * 29 + (int32_t)(frac / DAY_PARTS); // Whole # part of calculation 397 frac = frac % DAY_PARTS; // Time of day 648 int32_t day = startOfYear(eyear, status); local [all...] |
/packages/apps/Settings/src/com/android/settings/notification/ |
ZenModeScheduleDaysSelection.java | 57 final int day = daysOfWeek[i]; local 60 c.set(Calendar.DAY_OF_WEEK, day); 62 checkBox.setChecked(mDays.get(day)); 66 mDays.put(day, isChecked); 77 final int day = mDays.keyAt(i); local 79 rt.put(day, true);
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
Grego.java | 88 * Convert a year, month, and day-of-month, given in the proleptic 92 * @param dom 1-based day of month 93 * @return the day number, with day 0 == Jan 1 1970 101 return julian - JULIAN_1970_CE; // JD => epoch day 105 * Return the day of week on the 1970-epoch day 106 * @param day the 1970-epoch day (integral value) 107 * @return the day of wee 177 long day = floorDivide(time, 24*60*60*1000 \/* milliseconds per day *\/, remainder); local [all...] |
/external/icu/icu4c/source/test/cintltst/ |
ccaltst.h | 85 static void verify1(const char* msg, UCalendar* c, UDateFormat* dat, int32_t year, int32_t month, int32_t day); 87 static void verify2(const char* msg, UCalendar* c, UDateFormat* dat, int32_t year, int32_t month, int32_t day,
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
Grego.java | 86 * Convert a year, month, and day-of-month, given in the proleptic 90 * @param dom 1-based day of month 91 * @return the day number, with day 0 == Jan 1 1970 99 return julian - JULIAN_1970_CE; // JD => epoch day 103 * Return the day of week on the 1970-epoch day 104 * @param day the 1970-epoch day (integral value) 105 * @return the day of wee 175 long day = floorDivide(time, 24*60*60*1000 \/* milliseconds per day *\/, remainder); local [all...] |
/external/v8/src/ |
dateparser.cc | 15 // Day and month defaults to 1. 22 int day = kNone; local 29 day = comp_[2]; 33 day = comp_[1]; 40 day = comp_[0]; 44 day = comp_[1]; 47 day = comp_[0]; 57 if (!Smi::IsValid(year) || !IsMonth(month) || !IsDay(day)) return false; 61 output->set(DAY, Smi::FromInt(day)); [all...] |
dateparser-inl.h | 24 DayComposer day; local 39 // end of a day, 59 // as a month name) is recorded as a named month in the Day composer. 75 DateToken next_unhandled_token = ParseES5DateTime(&scanner, &day, &time, &tz); 77 bool has_read_number = !day.IsEmpty(); 114 if (!day.Add(n)) return false; 124 day.SetNamedMonth(value); 173 return day.Write(out) && time.Write(out) && tz.Write(out); 236 DateStringTokenizer<Char>* scanner, DayComposer* day, TimeComposer* time, 238 DCHECK(day->IsEmpty()) [all...] |
/frameworks/base/core/java/android/widget/ |
SimpleMonthView.java | 57 * A calendar-like view displaying a specified month and the appropriate selectable day numbers 110 /** The day of month for the selected day, or -1 if no day is selected. */ 114 * The day of month for today, or -1 if the today is not in the current 119 /** The first day of the week (ex. Calendar.SUNDAY) indexed from one. */ 126 * The day of week (ex. Calendar.SUNDAY) for the first day of the current 131 /** The day of month for the first (inclusive) enabled day. * 495 final int day = col - offset + 1; local 815 final int day = i + 1; local 964 final int day = index + 1 - findDayOffset(); local 1044 final int day = getDayAtLocation((int) (x + 0.5f), (int) (y + 0.5f)); local [all...] |
CalendarViewMaterialDelegate.java | 114 public void onDaySelected(DayPickerView view, Calendar day) { 116 final int year = day.get(Calendar.YEAR); 117 final int month = day.get(Calendar.MONTH); 118 final int dayOfMonth = day.get(Calendar.DAY_OF_MONTH);
|
/developers/samples/android/content/WidgetData/Application/src/main/java/com/example/android/widgetdata/ |
WeatherWidgetService.java | 68 String day = "Unknown Day"; local 71 final int dayColIndex = mCursor.getColumnIndex(WeatherDataProvider.Columns.DAY); 74 day = mCursor.getString(dayColIndex); 78 // Return a proper item with the proper day and temperature 82 rv.setTextViewText(R.id.widget_item, String.format(formatStr, temp, day)); 87 extras.putString(WeatherWidgetProvider.EXTRA_DAY_ID, day);
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/ui/ |
DatePickerDialogTask.java | 37 public DatePickerDialogTask(int year, int month, int day) { 40 mDay = day; 48 public void onDateSet(DatePicker view, int year, int month, int day) { 54 result.put("day", day); 69 result.put("day", mDay); 84 result.put("day", mDay);
|
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/ |
XMPDateTime.java | 23 * <li> day - The day of the month in the range 1..31. 33 * fields (year, month, and day). 49 /** @return Returns the day of the month in the range 1..31. */ 52 /** @param day Sets the day 1..31 */ 53 void setDay(int day);
|
/frameworks/av/media/mtp/ |
MtpUtils.cpp | 30 DD replaced by the day (01-31), T is a constant character 'T' delimiting time from date, 37 int year, month, day, hour, minute, second; local 39 &year, &month, &day, &hour, &minute, &second) != 6) 62 tm.tm_mday = day;
|
/hardware/bsp/intel/peripheral/libupm/examples/c++/ |
wt5001.cxx | 114 uint8_t month = 0, day = 0; local 115 if (mp3->getDate(&year, &month, &day)) 116 cout << "The device date is: " << int(month) << "/" << int(day)
|
/external/pdfium/fpdfsdk/src/javascript/ |
JS_Value.cpp | 461 int day, 467 MakeDate(year, mon, day, hour, min, sec, 0)); 472 int day, 477 return JS_MakeDate(JS_MakeDay(year, mon, day), 684 int day = _Day(t); local 685 return day - _DayFromYear(year); 689 int day = _DayWithinYear(t); local 691 if (0 <= day && day < 31) 693 if (31 <= day && day < 59 + _isLeapYear(year) 720 int day = _DayWithinYear(t); local [all...] |
/packages/apps/Calendar/src/com/android/calendar/month/ |
MonthByWeekAdapter.java | 72 float mClickedXLocation; // Used to find which day was clicked 288 protected void onDayTapped(Time day) { 289 setDayParameters(day); 292 // with the selected day's info 293 mController.sendEvent(mContext, EventType.GO_TO, day, day, -1, 297 mController.sendEvent(mContext, EventType.GO_TO, day, day, -1, 304 private void setDayParameters(Time day) { 305 day.timezone = mHomeTimeZone 373 Time day = mLongClickedView.getDayFromLocation(mClickedXLocation); local [all...] |
/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/protorpc/static/ |
jquery.json-2.2.min.js | 11 {var month=o.getUTCMonth()+1;if(month<10)month='0'+month;var day=o.getUTCDate();if(day<10)day='0'+day;var year=o.getUTCFullYear();var hours=o.getUTCHours();if(hours<10)hours='0'+hours;var minutes=o.getUTCMinutes();if(minutes<10)minutes='0'+minutes;var seconds=o.getUTCSeconds();if(seconds<10)seconds='0'+seconds;var milli=o.getUTCMilliseconds();if(milli<100)milli='0'+milli;if(milli<10)milli='0'+milli;return'"'+year+'-'+month+'-'+day+'T'+
|
/external/chromium-trace/catapult/third_party/mapreduce/mapreduce/static/ |
jquery.json-2.2.min.js | 11 {var month=o.getUTCMonth()+1;if(month<10)month='0'+month;var day=o.getUTCDate();if(day<10)day='0'+day;var year=o.getUTCFullYear();var hours=o.getUTCHours();if(hours<10)hours='0'+hours;var minutes=o.getUTCMinutes();if(minutes<10)minutes='0'+minutes;var seconds=o.getUTCSeconds();if(seconds<10)seconds='0'+seconds;var milli=o.getUTCMilliseconds();if(milli<100)milli='0'+milli;if(milli<10)milli='0'+milli;return'"'+year+'-'+month+'-'+day+'T'+
|
/external/chromium-trace/catapult/third_party/pipeline/pipeline/ui/ |
jquery.json.min.js | 11 {var month=o.getUTCMonth()+1;if(month<10)month='0'+month;var day=o.getUTCDate();if(day<10)day='0'+day;var year=o.getUTCFullYear();var hours=o.getUTCHours();if(hours<10)hours='0'+hours;var minutes=o.getUTCMinutes();if(minutes<10)minutes='0'+minutes;var seconds=o.getUTCSeconds();if(seconds<10)seconds='0'+seconds;var milli=o.getUTCMilliseconds();if(milli<100)milli='0'+milli;if(milli<10)milli='0'+milli;return'"'+year+'-'+month+'-'+day+'T'+
|