/frameworks/base/media/libdrm/mobile1/include/objmng/ |
drm_time.h | 47 uint16_t day; member in struct:__db_system_time_
|
/external/icu4c/test/intltest/ |
calcasts.h | 8 * conversion between julian-day to fields and vice versa. 32 int32_t day; member in struct:CalendarCaseTest::TestCase
|
/frameworks/av/media/mtp/ |
MtpUtils.cpp | 31 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 41 &year, &month, &day, &hour, &minute, &second) != 6) 57 tm.tm_mday = day;
|
/packages/apps/Calendar/src/com/android/calendar/ |
EventRecurrenceFormatter.java | 53 // There is no "BYDAY" specifier, so use the day of the 61 int day = EventRecurrence.timeDay2Day(recurrence.startDate.weekDay); local 62 return String.format(format, dayToString(day)); 76 * Converts day of week to a String. 77 * @param day a EventRecurrence constant 78 * @return day of week as a string 80 private static String dayToString(int day) { 81 return DateUtils.getDayOfWeekString(dayToUtilDay(day), DateUtils.LENGTH_LONG); 85 * Converts EventRecurrence's day of week to DateUtil's day of week [all...] |
/system/core/toolbox/ |
date.c | 13 int day = atoi(s); local 27 tm.tm_year = day / 10000 - 1900; 28 tm.tm_mon = (day % 10000) / 100 - 1; 29 tm.tm_mday = (day % 100);
|
/external/chromium/net/ftp/ |
ftp_util_unittest.cc | 115 const char* day; member in struct:__anon4455::__anon4459 158 kTestCases[i].month, kTestCases[i].day, 163 UTF8ToUTF16(kTestCases[i].month), UTF8ToUTF16(kTestCases[i].day),
|
/external/v8/src/ |
dateparser.cc | 37 // Day and month defaults to 1. 44 int day = kNone; local 51 day = comp_[2]; 55 day = comp_[1]; 62 day = comp_[0]; 66 day = comp_[1]; 69 day = comp_[0]; 79 if (!Smi::IsValid(year) || !IsMonth(month) || !IsDay(day)) return false; 83 output->set(DAY, Smi::FromInt(day)); [all...] |
dateparser-inl.h | 45 DayComposer day; local 60 // end of a day, 79 // as a month name) is recorded as a named month in the Day composer. 95 DateToken next_unhandled_token = ParseES5DateTime(&scanner, &day, &time, &tz); 97 bool has_read_number = !day.IsEmpty(); 134 if (!day.Add(n)) return false; 144 day.SetNamedMonth(value); 178 return day.Write(out) && time.Write(out) && tz.Write(out); 219 DayComposer* day, 222 ASSERT(day->IsEmpty()) [all...] |
/bionic/libc/tzcode/ |
strptime.c | 48 const char *day[7]; member in struct:__anon680 206 case 'A': /* The day of week, using the locale's form. */ 211 len = strlen(_ctloc(day[i])); 212 if (strncasecmp(_ctloc(day[i]), (const char*)bp, len) == 0) 261 case 'd': /* The day of month. */ 286 case 'j': /* The day of year. */ 353 case 'w': /* The day of week, beginning on sunday. */
|
/development/samples/WeatherListWidget/src/com/example/android/weatherlistwidget/ |
WeatherDataProvider.java | 39 String day; field in class:WeatherDataPoint 43 day = d; 56 public static final String DAY = "day"; 95 new String[]{ Columns.ID, Columns.DAY, Columns.TEMPERATURE }); 98 c.addRow(new Object[]{ new Integer(i), data.day, new Integer(data.degrees) }); 129 new String[]{ Columns.ID, Columns.DAY, Columns.TEMPERATURE });
|
WeatherWidgetService.java | 73 String day = "Unknown Day"; local 76 final int dayColIndex = mCursor.getColumnIndex(WeatherDataProvider.Columns.DAY); 79 day = mCursor.getString(dayColIndex); 83 // Return a proper item with the proper day and temperature 87 rv.setTextViewText(R.id.widget_item, String.format(formatStr, temp, day)); 92 extras.putString(WeatherWidgetProvider.EXTRA_DAY_ID, day);
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/builderTemplate/publishingFiles/dropSiteRootFiles/ |
index.php | 74 $day = substr($timePart, 6, 2);
variable 77 $timeStamp = mktime($hour, $minute, 0, $month, $day, $year);
|
/external/icu4c/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); 169 CopticCalendar::copticToJD(int32_t year, int32_t month, int32_t day) 171 return CECalendar::ceToJD(year, month, day, COPTIC_JD_EPOCH_OFFSET);
|
ethpccal.cpp | 104 int32_t eyear, month, day, era, year; local 105 jdToCE(julianDay, getJDEpochOffset(), eyear, month, day); 124 internalSet(UCAL_DATE, day); 125 internalSet(UCAL_DAY_OF_YEAR, (30 * month) + day);
|
gregoimp.cpp | 93 return julian - JULIAN_1970_CE; // JD => epoch day 96 void Grego::dayToFields(double day, int32_t& year, int32_t& month, 100 day += JULIAN_1970_CE - JULIAN_1_CE; 102 // Convert from the day number to the multiple radix 104 // For example, the 4-year cycle has 4 years + 1 leap day; giving 106 int32_t n400 = ClockMath::floorDivide(day, 146097, doy); // 400-year cycle length 119 // Gregorian day zero is a Monday. 120 dow = (int32_t) uprv_fmod(day + 1, 7); 137 double day = ClockMath::floorDivide((double)time, (double)U_MILLIS_PER_DAY, millisInDay); local 139 dayToFields(day, year, month, dom, dow, doy) [all...] |
japancal.cpp | 38 int8_t day; member in struct:__anon7424 40 // Year Month Day 344 int32_t day = 1; local 348 return kEraInfo[era].day; 352 return day; 412 diff,low, high, i, kEraInfo[i].month-1, kEraInfo[i].day, kEraInfo[i].year, internalGet(UCAL_MONTH), internalGet(UCAL_DATE),year); 424 diff = internalGet(UCAL_DATE) - kEraInfo[i].day; 516 int32_t nextEraDate = kEraInfo[era + 1].day;
|
/external/icu4c/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;
|
/libcore/luni/src/main/java/java/sql/ |
Date.java | 24 * format only deals with year, month and day values. There are no values for 42 * month and day. 52 * the day in the month. Must be in the range {@code [1,31]}. 60 * Creates a date which corresponds to the day determined by the supplied 67 * correspond to 00:00:00 GMT on the day determined by the supplied 157 * set based on the supplied time value and rounded to zero GMT for that day. 166 * elements finer than the day based on zero GMT 232 int day = Integer.parseInt(dateString.substring(secondIndex + 1, local 234 return new Date(year - 1900, month - 1, day); 241 * particular day [all...] |
/external/nist-sip/java/gov/nist/javax/sip/parser/ |
HeaderParser.java | 85 int day = Integer.parseInt(s1); local 86 if (day <= 0 || day > 31) 87 throw createParseException("Bad day "); 88 retval.set(Calendar.DAY_OF_MONTH, day);
|
/external/v8/test/cctest/ |
test-date.cc | 49 int year, month, day; local 50 YearMonthDayFromDays(days, &year, &month, &day); 51 Rule* rule = FindRuleFor(year, month, day, time_in_day_sec); 61 Rule* FindRuleFor(int year, int month, int day, int time_in_day_sec) { 64 if (Match(&rules_[i], year, month, day, time_in_day_sec)) { 71 bool Match(Rule* rule, int year, int month, int day, int time_in_day_sec) { 76 if (rule->start_month == month && start_day > day) return false; 77 if (rule->start_month == month && start_day == day && 81 if (rule->end_month == month && end_day < day) return false; 82 if (rule->end_month == month && end_day == day & [all...] |
/frameworks/base/core/java/android/util/ |
MonthDisplayHelper.java | 44 * @param weekStartDay What day of the week the week should start. 85 * @return The first day of the month using a constants such as 102 * box. For example, if the calendar is set to display the first day of 132 * @return The day at a particular row, column 140 int day = 7 * row + column - mOffset + 1; local 142 return (day > mNumDaysInMonth) ? 143 day - mNumDaysInMonth : day; 147 * @return Which row day is in. 149 public int getRowOf(int day) { 189 int day = 7 * row + column - mOffset + 1; local [all...] |
/frameworks/base/media/libdrm/mobile1/src/parser/ |
parser_rel.c | 51 int32_t drm_checkDate(int32_t year, int32_t month, int32_t day, 55 day >= 1 && day <= drm_monthDays(year, month) && 66 int32_t year, mon, day, hour, min, sec; local 95 /** get day */ 101 day = atoi((char *)pHead); 128 if (0 != drm_checkDate(year, mon, day, hour, min, sec)) 131 YMD_HMS_2_INT(year, mon, day, dateTime->date, hour, min, sec, 238 int32_t year, mon, day, hour, min, sec; local 364 /** get day */ [all...] |
/frameworks/opt/telephony/src/java/android/telephony/ |
SmsCbEtwsInfo.java | 138 int day = IccUtils.gsmBcdByteToInt(mWarningSecurityInformation[2]); local 160 time.monthDay = day;
|
/libcore/luni/src/main/java/java/util/ |
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 week 175 long day = floorDivide(time, 24*60*60*1000 \/* milliseconds per day *\/, remainder); local [all...] |
/packages/apps/Calendar/src/com/android/calendar/month/ |
MonthListView.java | 160 // Get the day at the top right corner 161 int day = getUpperRightJulianDay(); local 162 // Get the day of the first day of the next/previous month 164 mTempTime.setJulianDay(day); 168 // Since each view is 7 days, round the target day up to make sure the 181 int viewsToFling = (scrollToDay - day) / 7 - ((monthsToJump <= 0) ? 1 : 0); 189 // Returns the julian day of the day in the upper right corner
|