/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/ |
DangiTest.java | 141 cal.get(Calendar.YEAR) + "/" + 158 // thorough, but try to test at least a full year, preferably a 159 // full non-leap and a full leap year. 301 // year mon day field amount year mon day 303 { 4335, 12,0, 15, MONTH, 1, 4336, 1,0, 15 }, // across year 304 { 4336, 1,0, 15, MONTH, -1, 4335, 12,0, 15 }, // across year 327 // year mon day field amount year mon day 330 { 4335, 12,0, 15, MONTH, 1, 4335, 1,0, 15 }, // across year [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/duration/ |
ICUDurationTest.java | 190 int years = cal.get(Calendar.YEAR) - 1970; // year of Date(0)
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
TestMessageFormat.java | [all...] |
TimeUnitTest.java | 169 TimeUnit.YEAR}; 189 "1 ??.", // year (one) 205 "7 ??.", // year (other) 221 "1 ??.", // year (one) 237 "7 ??."}; // year (other
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/ |
TimeZoneAliasTest.java | 164 static private final int currentYear = new GregorianCalendar().get(Calendar.YEAR);
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/ |
DangiTest.java | 140 cal.get(Calendar.YEAR) + "/" + 157 // thorough, but try to test at least a full year, preferably a 158 // full non-leap and a full leap year. 300 // year mon day field amount year mon day 302 { 4335, 12,0, 15, MONTH, 1, 4336, 1,0, 15 }, // across year 303 { 4336, 1,0, 15, MONTH, -1, 4335, 12,0, 15 }, // across year 326 // year mon day field amount year mon day 329 { 4335, 12,0, 15, MONTH, 1, 4335, 1,0, 15 }, // across year [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/duration/ |
ICUDurationTest.java | 189 int years = cal.get(Calendar.YEAR) - 1970; // year of Date(0)
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
TestMessageFormat.java | [all...] |
TimeUnitTest.java | 168 TimeUnit.YEAR}; 188 "1 ??.", // year (one) 204 "7 ??.", // year (other) 220 "1 ??.", // year (one) 236 "7 ??."}; // year (other
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/ |
TimeZoneAliasTest.java | 163 static private final int currentYear = new GregorianCalendar().get(Calendar.YEAR);
|
/external/robolectric/v1/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...] |
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/ |
XMPNormalizer.java | 476 cal.set(Calendar.YEAR, binOtherDate.getYear());
|
/frameworks/base/core/java/android/text/format/ |
DateFormat.java | 154 public static final char YEAR = 'y'; 315 * array containing the day ({@code 'd'}), month ({@code 'M'}), and year ({@code 'y'})) 319 * not just the day, month, and year, and not necessarily in the same 509 replacement = getYearString(inDate.get(Calendar.YEAR), count); 589 private static String getYearString(int year, int count) { 590 return (count <= 2) ? zeroPad(year % 100, 2) 591 : String.format(Locale.getDefault(), "%d", year);
|
/frameworks/base/core/java/android/widget/ |
DatePicker.java | 50 * set to {@code spinner}, the date can be selected using year, month, and day 58 * calendar-style view while the year can be selected separately using a list. 128 * @param year The year that was set. 133 void onDateChanged(DatePicker view, int year, int monthOfYear, int dayOfMonth); 220 * @param year The initial year. 226 public void init(int year, int monthOfYear, int dayOfMonth, 228 mDelegate.init(year, monthOfYear, dayOfMonth, onDateChangedListener); 244 * @param year The year [all...] |
SimpleMonthView.java | 785 * @param year the year 791 void setMonthParams(int selectedDay, int month, int year, int weekStart, int enabledDayStart, 798 mYear = year; 801 mCalendar.set(Calendar.YEAR, mYear); 833 private static int getDaysInMonth(int month, int year) { 849 return (year % 4 == 0) ? 29 : 28; 856 return mYear == today.get(Calendar.YEAR) && mMonth == today.get(Calendar.MONTH) [all...] |
/frameworks/base/media/java/android/mtp/ |
MtpPropertyGroup.java | 127 column = Audio.AudioColumns.YEAR; 400 // release date is stored internally as just the year 401 int year = c.getInt(column); local 402 String dateTime = Integer.toString(year) + "0101T000000";
|
/frameworks/base/packages/Osu/src/com/android/hotspot2/ |
Utils.java | 280 c.get(Calendar.YEAR),
|
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
ssl.py | 395 ("MON DAY 24HOUR:MINUTE:SEC YEAR TIMEZONE") and return
|
/prebuilts/gdb/linux-x86/lib/python2.7/ |
ssl.py | 395 ("MON DAY 24HOUR:MINUTE:SEC YEAR TIMEZONE") and return
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
ssl.py | 395 ("MON DAY 24HOUR:MINUTE:SEC YEAR TIMEZONE") and return
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
ssl.py | 395 ("MON DAY 24HOUR:MINUTE:SEC YEAR TIMEZONE") and return
|
/frameworks/base/obex/javax/obex/ |
ObexHelper.java | 263 temp.set(Calendar.YEAR, Integer.parseInt(dateString.substring( 456 int temp = dateHeader.get(Calendar.YEAR); [all...] |
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/ |
TwoWayBindingAdapterTest.java | 181 assertEquals(expected.get(Calendar.YEAR), testValue.get(Calendar.YEAR)); 390 assertEquals(1972, mBindingObject.year.get()); 401 while (mBindingObject.year.get() == 1972 && SystemClock.uptimeMillis() < timeout) { 408 assertEquals(2003, mBindingObject.year.get()); 420 assertEquals(1972, mBindingObject.year.get()); 431 while (mBindingObject.year.get() == 1972 && SystemClock.uptimeMillis() < timeout) { 438 assertEquals(2003, mBindingObject.year.get()); 450 assertEquals(1972, mBindingObject.year.get()); 461 while (mBindingObject.year.get() == 1972 && SystemClock.uptimeMillis() < timeout) [all...] |
/libcore/ojluni/src/main/java/java/text/ |
SimpleDateFormat.java | 122 * <td>Year 123 * <td><a href="#year">Year</a> 128 * <td>Week year 129 * <td><a href="#year">Year</a> 134 * <td>Month in year (context sensitive) 140 * <td>Week in year 152 * <td>Day in year 262 * <li><strong><a name="year">Year:</a></strong [all...] |
/cts/tests/autofillservice/src/android/autofillservice/cts/ |
Helper.java | 449 static void assertDateValue(Object object, AutofillValue value, int year, int month, int day) { 456 assertWithMessage("Wrong year on AutofillValue %s", value) 457 .that(cal.get(Calendar.YEAR)).isEqualTo(year); 467 static void assertDateValue(ViewNode node, int year, int month, int day) { 468 assertDateValue(node, node.getAutofillValue(), year, month, day); 474 static void assertDateValue(View view, int year, int month, int day) { 475 assertDateValue(view, view.getAutofillValue(), year, month, day);
|