/frameworks/base/libs/androidfw/tests/ |
ZipUtils_test.cpp | 46 << "Year was improperly converted.";
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
DatePickerActivity.java | 32 public void onDateChanged(DatePicker view, int year, int monthOfYear, int dayOfMonth) {
|
/frameworks/base/tools/layoutlib/.idea/copyright/ |
Android.xml | 3 <option name="notice" value="Copyright (C) &#36;today.year The Android Open Source Project Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License." />
|
/ndk/sources/cxx-stl/stlport/src/ |
time_facets.cpp | 182 year to the year day YDAY with week day WDAY. ISO weeks start on 183 Monday; the first ISO week has the year's first Thursday. YDAY may 198 # define __is_leap(year)\ 199 ((year) % 4 == 0 && ((year) % 100 != 0 || (year) % 400 == 0)) 393 int year = t->tm_year + __TM_YEAR_BASE; variable 396 /* This ISO week belongs to the previous year. */ 397 year-- [all...] |
/ndk/sources/host-tools/sed-4.2.1/testsuite/ |
distrib.good | 17 year in the bag of one bee:
|
/packages/apps/DeskClock/src/com/android/deskclock/provider/ |
ClockContract.java | 207 * Alarm year. 211 public static final String YEAR = "year"; 214 * Alarm month in year.
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
winnls32.h | 16 WORD year; member in struct:_tagDATETIME
|
/external/chromium_org/base/third_party/nspr/ |
prtime.h | 116 * Time broken down into human-readable components such as year, month, 127 * - we use absolute year, AD, not the year since 1900. 145 PRInt16 tm_year; /* absolute year, AD (note that we do not 150 PRInt16 tm_yday; /* calculated day of the year 193 * number of days in a year are not constant, it is ambiguous to 194 * manipulate the month and year fields, although one may be tempted
|
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/common/ |
date_widget.js | 52 * The previous value of the year field. 146 // Get first day of year 209 var year = -1; 214 year = parseInt(splitDate[0], 10); 286 if (year != this.pYear_) { 287 changeMessage = changeMessage + year + '\n'; 288 this.pYear_ = year;
|
/external/chromium_org/third_party/npapi/npspy/extern/nspr/ |
prtime.h | 92 * Time broken down into human-readable components such as year, month, 103 * - we use absolute year, AD, not the year since 1900. 121 PRInt16 tm_year; /* absolute year, AD (note that we do not 126 PRInt16 tm_yday; /* calculated day of the year 207 * number of days in a year are not constant, it is ambiguous to 208 * manipulate the month and year fields, although one may be tempted
|
/external/chromium_org/base/metrics/ |
field_trial.cc | 22 // Created a time value based on |year|, |month| and |day_of_month| parameters. 23 Time CreateTimeFromParams(int year, int month, int day_of_month) { 24 DCHECK_GT(year, 1970); 31 exploded.year = year; 249 kNoExpirationYear = exploded.year; 268 const int year, 275 year, month, day_of_month, randomization_type, 0, default_group_number); 283 const int year, 333 if (GetBuildTime() > CreateTimeFromParams(year, month, day_of_month) [all...] |
/external/chromium_org/components/autofill/core/browser/ |
autofill_field.cc | 137 // Returns true if the last two digits in |year| match those in |str|. 138 bool LastTwoDigitsMatch(const base::string16& year, 142 if (!StringToInt(year, &year_int) || !StringToInt(str, &str_int)) 148 // Try to fill a year |value| into the given |field| by comparing the last two 149 // digits of the year to the field's options. 265 // Autofill formats a combined date as month/year. 271 // HTML5 input="month" is formatted as year-month. 273 base::string16 year = pieces[1]; local 274 if ((month.size() != 1 && month.size() != 2) || year.size() != 4) 281 field->value = year + ASCIIToUTF16("-") + month [all...] |
credit_card.cc | 44 bool ConvertYear(const base::string16& year, int* num) { 45 // If the |year| is empty, clear the stored value. 46 if (year.empty()) { 51 // Try parsing the |year| as a number. 52 if (base::StringToInt(year, num)) 295 base::string16 year = Expiration2DigitYearAsString(); local 296 if (!month.empty() && !year.empty()) 297 return month + base::ASCIIToUTF16("/") + year; 303 base::string16 year = Expiration4DigitYearAsString(); local 304 if (!month.empty() && !year.empty() 633 int year; local [all...] |
/external/icu/icu4c/source/test/intltest/ |
caltest.cpp | 657 int32_t year = 1997, month = UCAL_APRIL, date = 1; 658 gc->set(year, month, date); 665 if (gc->get(UCAL_YEAR, status) != year || 825 /* Note: The following test used to expect YEAR 1997, WOY 1 to 829 * desired. Using YEAR in combination with WOY is ambiguous, and 830 * results in the first WOY/DOW day of the year satisfying the 834 * _calendar_ year 1997, as specified. - aliu */ 840 c->clear(); // - add test for YEAR 845 verify765("1997 Tuesday in week 1 of year = ", c, 1997, UCAL_DECEMBER, 30); 850 verify765("1997 Tuesday in week 10 of year = ", c, 1997, UCAL_MARCH, 4) 1371 int32_t year = 1997; local 1809 int32_t year = cal.get(UCAL_YEAR, status); local 2441 int32_t year; member in class:CalFields 2781 int32_t year = cal->get(UCAL_YEAR, status); local 2825 int32_t day=0, month=0, year=0, initDay = 27, initMonth = IslamicCalendar::RAJAB, initYear = 1434; local 2861 int32_t year = tstCal->get(UCAL_YEAR, status); local [all...] |
/external/icu/icu4c/source/tools/tzcode/ |
zic.c | 181 static int yearistype(int year, const char * type); 286 ** Year synonyms. 316 * with finalRules[i] occurring before finalRules[i+1] in the year. 317 * Each zone need only store a start year, a standard offset, and an 522 fprintf(f, " # zone %s, offset %d, year >= %d, rule %s (%d)\n", 538 warning("year types not supported by ICU"); 1262 int year, month, day; local 1272 if (sscanf(cp, scheck(cp, "%d"), &year) != 1) { 1276 error(_("invalid leaping year")); 1279 if (!leapseen || leapmaxyear < year) 2107 register int year; local [all...] |
/external/chromium_org/base/time/ |
pr_time_unittest.cc | 39 2007 - 1900, // year 41 0, // day of year (ignored, output only) 55 2013 - 1900, // year 57 0, // day of year (ignored, output only) 263 // Note the lack of timezone in the time string. The year has to be 3001.
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_strftime.py | 104 'week number of the year (Sun 1st)'), 107 'week number of the year (Mon 1st)'), 110 ('%y', '%02d' % (now[0]%100), 'year without century'), 111 ('%Y', '%d' % now[0], 'year with century'), 155 'year without century rendered using fieldwidth'),
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_strftime.py | 104 'week number of the year (Sun 1st)'), 107 'week number of the year (Mon 1st)'), 110 ('%y', '%02d' % (now[0]%100), 'year without century'), 111 ('%Y', '%d' % now[0], 'year with century'), 155 'year without century rendered using fieldwidth'),
|
/prebuilts/tools/common/m2/repository/org/objenesis/objenesis-parent/1.2/ |
objenesis-parent-1.2.pom | 194 <id>year</id>
199 <propertyName>year</propertyName>
223 <year>${year}</year>
|
/external/chromium_org/v8/test/mjsunit/ |
date-parse.js | 87 // Allow year/month/day format. 89 // Allow month/day/year format. 91 // Allow month/day year format. 93 // Allow comma instead of space after day, month and year. 222 ['Sat, 01 Jan 0 08:00:00 UT', 946713600000], // year 2000 223 ['Sat, 01 Jan 49 08:00:00 UT', 2493100800000], // year 2049 224 ['Sat, 01 Jan 50 08:00:00 UT', -631123200000], // year 1950 225 ['Sat, 01 Jan 99 08:00:00 UT', 915177600000], // year 1999 226 ['Sat, 01 Jan 100 08:00:00 UT', -59011430400000], // year 100
|
/external/lzma/C/Util/7z/ |
7zMain.c | 225 unsigned year, mon, day, hour, min, sec;
local 236 year = (unsigned)(1601 + v / PERIOD_400 * 400);
239 t = v / PERIOD_100; if (t == 4) t = 3; year += t * 100; v -= t * PERIOD_100;
240 t = v / PERIOD_4; if (t == 25) t = 24; year += t * 4; v -= t * PERIOD_4;
241 t = v / 365; if (t == 4) t = 3; year += t; v -= t * 365;
243 if (year % 4 == 0 && (year % 100 != 0 || year % 400 == 0))
253 s = UIntToStr(s, year, 4); *s++ = '-';
|
/packages/apps/Settings/src/com/android/settings/ |
DateTimeSettings.java | 140 mDummyDate.set(mDummyDate.get(Calendar.YEAR), mDummyDate.DECEMBER, 31, 13, 0, 0); 197 mDummyDate.set(now.get(Calendar.YEAR), 11, 31, 13, 0, 0); 207 public void onDateSet(DatePicker view, int year, int month, int day) { 210 setDate(activity, year, month, day); 258 calendar.get(Calendar.YEAR), 294 calendar.get(Calendar.YEAR), 366 /* package */ static void setDate(Context context, int year, int month, int day) { 369 c.set(Calendar.YEAR, year);
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6/sysroot/usr/include/ |
time.h | 140 int tm_year; /* Year - 1900. */ 142 int tm_yday; /* Days in year.[0-365] */ 302 /* Nonzero if YEAR is a leap year (every 4 years, 304 # define __isleap(year) \ 305 ((year) % 4 == 0 && ((year) % 100 != 0 || (year) % 400 == 0)) 318 /* Return the number of days in YEAR. */
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/ |
time.h | 140 int tm_year; /* Year - 1900. */ 142 int tm_yday; /* Days in year.[0-365] */ 302 /* Nonzero if YEAR is a leap year (every 4 years, 304 # define __isleap(year) \ 305 ((year) % 4 == 0 && ((year) % 100 != 0 || (year) % 400 == 0)) 318 /* Return the number of days in YEAR. */
|
/libcore/luni/src/main/java/java/util/ |
SimpleTimeZone.java | 342 public int getOffset(int era, int year, int month, int day, int dayOfWeek, int time) { 347 if (month != Calendar.FEBRUARY || day != 29 || !isLeapYear(year)) { 351 if (!useDaylightTime() || era != GregorianCalendar.AD || year < startYear) { 377 year)) { 419 if (endMonth == Calendar.FEBRUARY && isLeapYear(year)) { 454 if (ruleMonth == Calendar.FEBRUARY && isLeapYear(year)) { 530 private boolean isLeapYear(int year) { 531 if (year > 1582) { 532 return year % 4 == 0 && (year % 100 != 0 || year % 400 == 0) [all...] |