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

1 2 3 4

  /external/icu/icu4c/source/test/perf/DateFmtPerf/
datedata.h 39 static int years[] = { variable
  /ndk/tests/device/test-gnustl-full/unit/
alg_test.cpp 94 vector<int> years; local
95 years.push_back(1962);
96 years.push_back(1992);
97 years.push_back(2001);
98 years.push_back(1999);
99 sort(years.begin(), years.end());
100 CPPUNIT_ASSERT(years[0]==1962);
101 CPPUNIT_ASSERT(years[1]==1992);
102 CPPUNIT_ASSERT(years[2]==1999)
106 deque<int> years; local
    [all...]
find_test.cpp 66 int years[] = { 1942, 1952, 1962, 1972, 1982, 1992 }; local
68 const unsigned yearCount = sizeof(years) / sizeof(years[0]);
69 int* location = find((int*)years, (int*)years + yearCount, 1972);
71 CPPUNIT_ASSERT((location - years)==3);
  /ndk/tests/device/test-stlport/unit/
alg_test.cpp 94 vector<int> years; local
95 years.push_back(1962);
96 years.push_back(1992);
97 years.push_back(2001);
98 years.push_back(1999);
99 sort(years.begin(), years.end());
100 CPPUNIT_ASSERT(years[0]==1962);
101 CPPUNIT_ASSERT(years[1]==1992);
102 CPPUNIT_ASSERT(years[2]==1999)
106 deque<int> years; local
    [all...]
find_test.cpp 66 int years[] = { 1942, 1952, 1962, 1972, 1982, 1992 }; local
68 const unsigned yearCount = sizeof(years) / sizeof(years[0]);
69 int* location = find((int*)years, (int*)years + yearCount, 1972);
71 CPPUNIT_ASSERT((location - years)==3);
  /external/chromium-trace/catapult/third_party/pipeline/pipeline/ui/
jquery.timeago.js 43 years: "%d years",
63 var years = days / 365;
80 years < 2 && substitute($l.year, 1) ||
81 substitute($l.years, Math.floor(years));
  /external/androidplot/Examples/DemoApp/src/com/androidplot/demos/
TimeSeriesActivity.java 44 // an array of years in milliseconds:
45 Number[] years = { local
54 Arrays.asList(years),
91 plot1.setDomainStep(XYStepMode.SUBDIVIDE, years.length);
  /frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/
YearPickerView.java 38 * Displays a selectable list of years.
72 ArrayList<String> years = new ArrayList<String>(); local
74 years.add(String.format("%d", year));
76 mAdapter = new YearAdapter(context, R.layout.year_label_text_view, years);
  /external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/timezone/
ICUZDump.java 254 String[] years = val.split(","); local
255 if (years.length == 1) {
256 high = Integer.parseInt(years[0]);
257 } else if (years.length == 2) {
258 low = Integer.parseInt(years[0]);
259 high = Integer.parseInt(years[1]);
  /external/snakeyaml/src/test/java/org/yaml/snakeyaml/types/
TimestampTagTest.java 94 int years = cal.get(Calendar.YEAR); local
101 String result = String.valueOf(years) + "-" + String.valueOf(months) + "-"
  /libcore/luni/src/main/java/javax/xml/datatype/
DatatypeFactory.java 197 * e.g. leap years have different days in the month = {@link java.util.Calendar#FEBRUARY}
208 * specifying the <code>Duration</code> as isPositive, years, months, days, hours, minutes, seconds.</p>
219 * @param years of this <code>Duration</code>
233 final BigInteger years,
242 * specifying the <code>Duration</code> as isPositive, years, months, days, hours, minutes, seconds.</p>
248 * @param years of this <code>Duration</code>
261 * BigInteger years,
270 final int years,
277 // years may not be set
278 BigInteger realYears = (years != DatatypeConstants.FIELD_UNDEFINED) ? BigInteger.valueOf((long) years) : null
    [all...]
Duration.java 34 * which consists of six fields (years, months, days, hours,
158 boolean yearSet = isSet(DatatypeConstants.YEARS);
218 * <p>Get the years value of this <code>Duration</code> as an <code>int</code> or <code>0</code> if not present.</p>
221 * {@link #getField(DatatypeConstants.Field field) getField(DatatypeConstants.YEARS)}.</p>
224 * with years that go beyond the range of an <code>int</code>.
225 * Use {@link #getField(DatatypeConstants.Field field) getField(DatatypeConstants.YEARS)} to avoid possible loss of precision.</p>
227 * @return If the years field is present, return its value as an <code>int</code>, else return <code>0</code>.
230 return getFieldValueAsInt(DatatypeConstants.YEARS);
383 * In case of YEARS, MONTHS, DAYS, HOURS, and MINUTES, the returned
388 * one of the six Field constants (YEARS,MONTHS,DAYS,HOURS
892 BigInteger years = (BigInteger) getField(DatatypeConstants.YEARS); local
    [all...]
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/picker/
DatePicker.java 153 PickerColumn years = new PickerColumn(mYears); local
157 ret.add(years);
  /external/icu/icu4c/source/tools/tzcode/
zdump.c 692 register intmax_t myy, seconds, years; local
703 years = diff400 * 400;
706 years = 1;
708 myy += years;
719 years = diff400 * 400;
722 years = 1;
724 myy -= years;
localtime.c 846 ** years.
847 ** In non-leap years, or if the day number is 59 or less, just
1272 register time_t years; local
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/app/
PrintCustomContent.java 490 String[] years = getResources().getStringArray(R.array.motogp_years); local
496 final int itemCount = years.length;
499 item.year = years[i];
  /frameworks/opt/calendar/src/com/android/calendarcommon2/
RecurrenceProcessor.java 1173 int years = (month + 1) \/ 12 - 1; local
1177 int years = month \/ 12; local
    [all...]
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/duration/
ICUDurationTest.java 81 if (y >= 0) { fields.put(DatatypeConstants.YEARS, y); }
196 int years = cal.get(Calendar.YEAR) - 1970; // year of Date(0) local
197 expect = years + " anni fa";
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/duration/
ICUDurationTest.java 77 if (y >= 0) { fields.put(DatatypeConstants.YEARS, y); }
192 int years = cal.get(Calendar.YEAR) - 1970; // year of Date(0) local
193 expect = years + " anni fa";
  /external/snakeyaml/src/main/java/org/yaml/snakeyaml/representer/
SafeRepresenter.java 334 int years = calendar.get(Calendar.YEAR); local
341 StringBuilder buffer = new StringBuilder(String.valueOf(years));
343 // ancient years
  /external/v8/test/mjsunit/
date.js 289 // Ensure that ISO-years in the range 00-99 aren't translated to the range
296 // Test negative years.
  /bionic/libc/tzcode/
localtime.c 933 ** years.
934 ** In non-leap years, or if the day number is 59 or less, just
1447 register time_t years; local
    [all...]
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/
CalendarRegression.java 1311 int years[] = {2000, maxYear-1, maxYear, maxYear+1}; local
    [all...]
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
CalendarRegression.java 1307 int years[] = {2000, maxYear-1, maxYear, maxYear+1}; local
    [all...]
  /build/tools/droiddoc/templates-pdk/assets/
android-developer-reference.js 12 date.setTime(date.getTime()+(10*365*24*60*60*1000)); // keep this for 10 years
70 date.setTime(date.getTime()+(10*365*24*60*60*1000)); // keep this for 10 years

Completed in 1756 milliseconds

1 2 3 4