HomeSort by relevance Sort by last modified time
    Searched full:year (Results 201 - 225 of 1718) sorted by null

1 2 3 4 5 6 7 891011>>

  /external/icu4c/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/v8/test/mjsunit/regress/
regress-399.js 31 var year = Number(String(date).match(/.*(200\d)/)[1]); variable
32 assertEquals(year, date.getFullYear());
  /frameworks/base/docs/html/guide/topics/renderscript/
index.jd 16 <p>It?s been a year since the last blog post on RenderScript, and with the release
18 since then. One of the major goals of this past year was to improve the performance
  /frameworks/opt/datetimepicker/res/values-en-rGB/
strings.xml 26 <string name="year_picker_description" msgid="6963340404644587098">"Year list"</string>
28 <string name="select_year" msgid="2603330600102539372">"Select year"</string>
  /frameworks/opt/datetimepicker/res/values-en-rIN/
strings.xml 26 <string name="year_picker_description" msgid="6963340404644587098">"Year list"</string>
28 <string name="select_year" msgid="2603330600102539372">"Select year"</string>
  /libcore/luni/src/test/java/libcore/java/util/
DateTest.java 39 c.set(Calendar.YEAR, 21);
42 c.set(Calendar.YEAR, 321);
  /external/chromium_org/net/ftp/
ftp_util.cc 247 if (!base::StringToInt(rest, &time_exploded.year)) {
274 // Guess the year.
278 // If it's not possible for the parsed date to be in the current year,
279 // use the previous year.
283 time_exploded.year = current_exploded.year - 1;
285 time_exploded.year = current_exploded.year;
309 if (!base::StringToInt(date_parts[2], &time_exploded.year))
311 if (time_exploded.year < 0
    [all...]
  /external/chromium_org/third_party/icu/source/i18n/
basictz.cpp 155 // within roughly 1 year from the specified date
161 int32_t year, month, dom, dow, doy, mid; local
166 year, month, dom, dow, doy, mid);
167 int32_t weekInMonth = Grego::dayOfWeekInMonth(year, month, dom);
179 dtr, year, AnnualTimeZoneRule::MAX_YEAR);
186 // and within roughly 1 year from the next transition
193 year, month, dom, dow, doy, mid);
194 weekInMonth = Grego::dayOfWeekInMonth(year, month, dom);
199 dtr, year - 1, AnnualTimeZoneRule::MAX_YEAR);
224 year, month, dom, dow, doy, mid)
479 int32_t year, month, dom, dow, doy, mid; local
    [all...]
chnsecal.h 49 * first method is by sequential numbering from the 61st year of the reign
50 * of Huang Di, 2637 BCE, which is designated year 1 on the Chinese
51 * calendar. The second method uses 60-year cycles from the same starting
52 * point, which is designated year 1 of cycle 1. In this class, the
53 * <code>EXTENDED_YEAR</code> field contains the sequential year count.
55 * <code>YEAR</code> field contains the year of the cycle, a value between
59 * the calendar, with some sources starting in the first year of the reign
60 * of Huang Di, rather than the 61st. This gives continuous year numbers
237 * Returns the year in which the default century begin
    [all...]
  /external/icu4c/i18n/
basictz.cpp 155 // within roughly 1 year from the specified date
161 int32_t year, month, dom, dow, doy, mid; local
166 year, month, dom, dow, doy, mid);
167 int32_t weekInMonth = Grego::dayOfWeekInMonth(year, month, dom);
179 dtr, year, AnnualTimeZoneRule::MAX_YEAR);
186 // and within roughly 1 year from the next transition
193 year, month, dom, dow, doy, mid);
194 weekInMonth = Grego::dayOfWeekInMonth(year, month, dom);
199 dtr, year - 1, AnnualTimeZoneRule::MAX_YEAR);
224 year, month, dom, dow, doy, mid)
479 int32_t year, month, dom, dow, doy, mid; local
    [all...]
  /external/libmtp/examples/
sendtr.c 59 fprintf(stderr, " -l <album> -c <codec> -g <genre> -n <track number> -y <year>\n");
164 int sendtrack_function(char * from_path, char * to_path, char *partist, char *palbumartist, char *ptitle, char *pgenre, char *palbum, char *pcomposer, uint16_t tracknum, uint16_t length, uint16_t year, uint32_t storageid)
245 if (year == 0) {
247 if ( (pnum = prompt("Year", num, 80, 0)) == NULL )
248 year = 0;
250 year = strtoul(pnum, 0, 10);
252 year = 0;
299 if (year > 0) {
301 printf("Year: %d\n", year);
385 uint16_t year = 0; local
    [all...]
  /external/chromium_org/components/autofill/core/browser/
credit_card_field_unittest.cc 55 field.label = ASCIIToUTF16("Exp Year");
89 field.label = ASCIIToUTF16("Exp Year");
129 field.label = ASCIIToUTF16("Exp Year");
131 list_.push_back(new AutofillField(field, ASCIIToUTF16("year")));
154 field_type_map_.find(ASCIIToUTF16("year")) != field_type_map_.end());
156 field_type_map_[ASCIIToUTF16("year")]);
175 field.label = ASCIIToUTF16("ExpDate Month / Year");
179 field.label = ASCIIToUTF16("ExpDate Month / Year");
214 field.label = ASCIIToUTF16("Expiration date Month / Year");
218 field.label = ASCIIToUTF16("Expiration date Month / Year");
    [all...]
validation.cc 27 bool IsValidCreditCardExpirationDate(const base::string16& year,
31 TrimWhitespace(year, TRIM_ALL, &year_cleaned);
47 bool IsValidCreditCardExpirationDate(int year,
53 if (year < now_exploded.year)
56 if (year == now_exploded.year && month < now_exploded.month)
  /external/chromium_org/third_party/WebKit/PerformanceTests/Dromaeo/resources/dromaeo/web/tests/
sunspider-date-format-tofte.html 126 // leap year or not. 1 if leap year, 0 if not.
195 // there's a chance it's "week 1" of next year.
204 // there's a chance it belongs in the old year.
214 // of the previous year, as the date, and then just
223 // first day of the year fell on a thursday, or earlier.
226 // first day of the year fell on a friday, or later.
236 // A full numeric representation of a year, 4 digits
258 // A two-digit representation of a year
263 // The day of the year, zero indexed! 0 through 36
    [all...]
  /external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-0.9/
date-format-tofte.js 122 // leap year or not. 1 if leap year, 0 if not.
191 // there's a chance it's "week 1" of next year.
200 // there's a chance it belongs in the old year.
210 // of the previous year, as the date, and then just
219 // first day of the year fell on a thursday, or earlier.
222 // first day of the year fell on a friday, or later.
232 // A full numeric representation of a year, 4 digits
254 // A two-digit representation of a year
259 // The day of the year, zero indexed! 0 through 36
    [all...]
  /external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-0.9.1/
date-format-tofte.js 122 // leap year or not. 1 if leap year, 0 if not.
191 // there's a chance it's "week 1" of next year.
200 // there's a chance it belongs in the old year.
210 // of the previous year, as the date, and then just
219 // first day of the year fell on a thursday, or earlier.
222 // first day of the year fell on a friday, or later.
232 // A full numeric representation of a year, 4 digits
254 // A two-digit representation of a year
259 // The day of the year, zero indexed! 0 through 36
    [all...]
  /external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-1.0/
date-format-tofte.js 122 // leap year or not. 1 if leap year, 0 if not.
191 // there's a chance it's "week 1" of next year.
200 // there's a chance it belongs in the old year.
210 // of the previous year, as the date, and then just
219 // first day of the year fell on a thursday, or earlier.
222 // first day of the year fell on a friday, or later.
232 // A full numeric representation of a year, 4 digits
254 // A two-digit representation of a year
259 // The day of the year, zero indexed! 0 through 36
    [all...]
  /libcore/luni/src/main/java/libcore/util/
ZoneInfo.java 176 public int getOffset(int era, int year, int month, int day, int dayOfWeek, int millis) {
181 long calc = (year / 400) * MILLISECONDS_PER_400_YEARS;
182 year %= 400;
184 calc += year * (365 * MILLISECONDS_PER_DAY);
185 calc += ((year + 3) / 4) * MILLISECONDS_PER_DAY;
187 if (year > 0) {
188 calc -= ((year - 1) / 100) * MILLISECONDS_PER_DAY;
191 boolean isLeap = (year == 0 || (year % 4 == 0 && year % 100 != 0))
    [all...]
  /frameworks/base/core/tests/coretests/src/android/text/format/
TimeTest.java 34 // System.out.println("got: " + t.year + '-'
190 if (local.year != test.year2 || local.month != test.month2
196 local.year, local.month, local.monthDay, local.hour, local.minute);
208 if (local.year != test.year2 || local.month != test.month2
214 local.year, local.month, local.monthDay, local.hour, local.minute);
231 if (local.year != test.year2 || local.month != test.month2
238 local.year, local.month, local.monthDay, local.hour, local.minute,
253 if (local.year != test.year2 || local.month != test.month2
260 local.year, local.month, local.monthDay, local.hour, local.minute,
362 if (!t.allDay || t.year != 1980 || t.month != 04 || t.monthDay != 23)
    [all...]
  /libcore/luni/src/main/java/javax/xml/datatype/
DatatypeFactory.java 148 * Gregorian year, month, day, hour, minute, and second components defined in Section 5.5.3.2 of [ISO 8601], respectively.
150 * year, month, day, hour, minute, and second.
177 * Gregorian year, month, day, hour, minute, and second components defined in Section 5.5.3.2 of [ISO 8601], respectively.
179 * year, month, day, hour, minute, and second.
193 * {@link java.util.Calendar#YEAR} = 1970,
367 * {@link java.util.Calendar#YEAR} = 1970,
525 * whose lexical representation contains only year and month components.
564 * whose lexical representation contains only year and month components.
579 * {@link java.util.Calendar#YEAR} = 1970,
586 * <p>Any remaining milliseconds after determining the year and month are discarded.</p
    [all...]
  /frameworks/base/core/java/android/text/format/
Time.java 84 * Year. For example, 1970.
86 public int year; field in class:Time
94 * Day of year [0-365]
127 public static final int YEAR = 6;
170 this.year = 1970;
243 int y = this.year;
249 case YEAR:
254 int y = this.year;
255 // Year days are numbered from 0, so the last one is usually 364.
281 this.year = 0
    [all...]
  /external/chromium_org/third_party/icu/source/i18n/unicode/
calendar.h 54 * <code>YEAR</code>, <code>MONTH</code>, <code>DAY</code>, <code>HOUR</code>,
90 * <code>UDate</code> (such as only year and month but no day in the month),
98 * start of the epoch: i.e., YEAR = 1970, MONTH = JANUARY, DATE = 1, etc.
129 * specification of the historial Arabic astronomical calendar requires year,
183 YEAR, // Example: 1..big number
199 YEAR_WOY, // 'Y' Example: 1..big number - Year of Week of Year
546 * roll(Calendar::DATE, true). When rolling on the year or Calendar::YEAR field, it
547 * will roll the year value in the range between getMinimum(Calendar::YEAR) and th
    [all...]
  /bionic/libc/tzcode/
strftime.c 442 case 'G': /* ISO 8601 year (four digits) */
443 case 'g': /* ISO 8601 year (two digits) */
446 ** year (the first Monday as the first day of week 1) as a decimal number
451 ** "Week 01 of a year is per definition the first week which has the
452 ** Thursday in this year, which is equivalent to the week which contains
453 ** the fourth day of January. In other words, the first week of a new year
454 ** is the week which has the majority of its days in the new year. Week 01
455 ** might also contain days from the previous year and the week before week
456 ** 01 of a year is the last week (52 or 53) of the previous year even i
463 int year; local
    [all...]
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowTime.java 35 time.year = 1970;
52 time.year = other.year;
112 c.get(Calendar.YEAR)
123 public void set(int second, int minute, int hour, int monthDay, int month, int year) {
129 time.year = year;
137 public void set(int monthDay, int month, int year) {
138 set(0, 0, 0, monthDay, month, year);
153 time.year = 0
    [all...]
  /packages/apps/Settings/src/com/android/settings/
DateTimeSettings.java 125 mDummyDate.set(mDummyDate.get(Calendar.YEAR), mDummyDate.DECEMBER, 31, 13, 0, 0);
182 mDummyDate.set(now.get(Calendar.YEAR), 11, 31, 13, 0, 0);
192 public void onDateSet(DatePicker view, int year, int month, int day) {
195 setDate(activity, year, month, day);
243 calendar.get(Calendar.YEAR),
279 calendar.get(Calendar.YEAR),
349 /* package */ static void setDate(Context context, int year, int month, int day) {
352 c.set(Calendar.YEAR, year);

Completed in 2242 milliseconds

1 2 3 4 5 6 7 891011>>