/frameworks/base/core/java/android/widget/ |
CalendarView.java | 321 * @param year The year that was set. 325 public void onSelectedDayChange(CalendarView view, int year, int month, int dayOfMonth); 998 && firstDate.get(Calendar.YEAR) == secondDate.get(Calendar.YEAR)); 1013 selectedDay.get(Calendar.YEAR), [all...] |
/cts/tests/tests/provider/src/android/provider/cts/ |
MediaStore_Audio_Genres_MembersTest.java | 147 assertEquals(Audio1.YEAR, c.getInt(c.getColumnIndex(Members.YEAR)));
|
/libcore/luni/src/main/java/java/util/ |
Calendar.java | 32 * {@code YEAR}, {@code MONTH}, {@code DAY}, 57 * fields, as well as their meaning. For example, the first month of the year 60 * and {@code YEAR}. See individual field documentation and subclass 84 * the first week of the month or year as a reference point. The first week of a 85 * month or year is defined as the earliest seven day period beginning on 87 * {@code getMinimalDaysInFirstWeek()} days of that month or year. Weeks 91 * designate the week before week 1 of a year as week <em>n</em> of the 92 * previous year. 97 * {@code Date} (such as only year and month but no day in the month), or 105 * of the epoch: i.e., YEAR = 1970, MONTH = JANUARY, DATE = 1, etc [all...] |
Formatter.java | 404 * <td width="25%">3-digit day of year (001-366).</td> 428 * <td width="25%">2-digit month of year (01-12).</td> 488 * <td width="25%">2-digit year (00-99).</td> 494 * <td width="25%">4-digit year.</td> [all...] |
/developers/samples/android/security/keystore/BasicAndroidKeyStore/BasicAndroidKeyStoreSample/src/main/java/com/example/android/basicandroidkeystore/ |
BasicAndroidKeyStoreFragment.java | 159 end.add(1, Calendar.YEAR);
|
/development/apps/Development/src/com/android/development/ |
MediaScannerActivity.java | 190 map.put(Audio.Media.YEAR, baseYear + mRandom.nextInt(10));
|
/development/samples/browseable/BasicAndroidKeyStore/src/com.example.android.basicandroidkeystore/ |
BasicAndroidKeyStoreFragment.java | 159 end.add(1, Calendar.YEAR);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
ResponseData.java | 225 // Fill year byte 226 data[1] = byteToBCD(mCalendar.get(java.util.Calendar.YEAR) % 100);
|
/packages/apps/DeskClock/src/com/android/deskclock/provider/ |
ClockDatabaseHelper.java | 88 ClockContract.InstancesColumns.YEAR + " INTEGER NOT NULL, " +
|
/packages/apps/Exchange/src/com/android/exchange/utility/ |
CalendarUtilities.java | 160 static final int sCurrentYear = new GregorianCalendar().get(Calendar.YEAR); 234 String year; field in class:CalendarUtilities.TimeZoneDate 286 // MSFT year is an int; TimeZone is a String 288 tzd.year = Integer.toString(num); 329 testCalendar.set(GregorianCalendar.YEAR, sCurrentYear); 452 * consecutive years starting with the current year 541 * @param toDaylightCalendars an array of GregorianCalendars, one for each year, representing 543 * @param toStandardCalendars an array of GregorianCalendars, one for each year, representing 554 // Get the transitions for this year and the next few years 559 // Calculate end of year; no need to be insanely precis [all...] |
/frameworks/base/core/java/android/text/format/ |
DateUtils.java | 53 * This constant is actually the length of 364 days, not of a year! 219 * Return a localized string for the month of the year. 226 * @return Localized month of the year. 579 if (thenCal.get(Calendar.YEAR) == nowCal.get(Calendar.YEAR) 596 int thenYear = time.year; 601 return (thenYear == time.year) 711 * If FORMAT_SHOW_YEAR is set, then the year is always shown. 712 * If FORMAT_SHOW_YEAR is not set, then the year 713 * is shown only if it is different from the current year, or if the star [all...] |
DateFormat.java | 117 public static final char YEAR = 'y'; 255 int year = value.indexOf('y'); local 257 if (month >= 0 && day >= 0 && year >= 0) { 259 if (year < month && year < day) { 266 if (day < year) { 272 if (month < year) { 310 * 3 elements ({@link #DATE}, {@link #MONTH}, and {@link #YEAR}) in the order 314 * not just the day, month, and year, and not necessarily in the same 502 replacement = getYearString(inDate.get(Calendar.YEAR), count) [all...] |
/cts/tests/tests/text/src/android/text/format/cts/ |
DateUtilsTest.java | 173 int currentYear = Calendar.getInstance().get(Calendar.YEAR);
|
TimeTest.java | 43 time.year = 2008; 49 assertEquals(2008, cal.get(Calendar.YEAR)); 73 final int year = 2008; local 77 time.set(date, month, year); 78 assertEquals(year, time.year); 95 assertEquals(time.year, anotherTime.year); 115 assertEquals(time.year, anotherTime.year); 582 final int year = 2008; local [all...] |
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/input/ |
InputDialogContainer.java | 35 int year, int month, int day, int hour, int minute, int second, int week); 95 private Time normalizeTime(int year, int month, int monthDay, 98 if (year == 0 && month == 0 && monthDay == 0 && hour == 0 && 103 cal.get(Calendar.MONTH), cal.get(Calendar.YEAR)); 105 result.set(second, minute, hour, monthDay, month, year); 110 void showDialog(final int dialogType, int year, int month, int monthDay, 122 Time time = normalizeTime(year, month, monthDay, hour, minute, second); 125 new DateListener(dialogType), time.year, time.month, time.monthDay); 127 time.year, time.month, time.monthDay, 0, 0, minTime, maxTime); 139 time.year, time.month, time.monthDay [all...] |
/external/chromium_org/v8/src/ |
dateparser.h | 41 // [0]: year 54 YEAR, MONTH, DAY, HOUR, MINUTE, SECOND, MILLISECOND, UTC_OFFSET, OUTPUT_SIZE 389 // If set, ensures that data is always parsed in year-month-date order.
|
/external/v8/src/ |
dateparser.h | 41 // [0]: year 54 YEAR, MONTH, DAY, HOUR, MINUTE, SECOND, MILLISECOND, UTC_OFFSET, OUTPUT_SIZE 389 // If set, ensures that data is always parsed in year-month-date order.
|
/packages/apps/Exchange/src/com/android/exchange/eas/ |
EasSync.java | 223 sb.append(calendar.get(Calendar.YEAR));
|
/frameworks/opt/calendar/src/com/android/calendarcommon2/ |
RecurrenceProcessor.java | 432 int realYear = iterator.year; 441 + "/" + iterator.year + " day=" + day); 448 realYear = t.year; 454 + "/" + t.year); 471 + "/" + t.year 670 // them to year/month/day values in the local timezone. 685 // them to year/month/day values in the local timezone. 698 // for fast comparisons and that is easy to generate from year/month/day 801 freqField = Time.YEAR; 1144 int year = date.year; local [all...] |
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
KeyStore2Test.java | 683 int yearExpected = Calendar.getInstance().get(Calendar.YEAR); 690 int yearActual1 = Calendar.getInstance().get(Calendar.YEAR); 704 int yearActual2 = Calendar.getInstance().get(Calendar.YEAR); [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/security/ |
KeyStoreUsage.java | 313 cal.add(Calendar.YEAR, 1);
|
/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...] |
/external/icu4c/i18n/unicode/ |
calendar.h | 55 * <code>YEAR</code>, <code>MONTH</code>, <code>DAY</code>, <code>HOUR</code>, 91 * <code>UDate</code> (such as only year and month but no day in the month), 100 * start of the epoch: i.e., YEAR = 1970, MONTH = JANUARY, DATE = 1, etc. 151 * specification of the historial Arabic astronomical calendar requires year, 218 YEAR, // Example: 1..big number 234 YEAR_WOY, // 'Y' Example: 1..big number - Year of Week of Year 544 * starting with 100 BC and adding +1 to year results in 99 BC (even though this actually reduces 566 * starting with 100 BC and adding +1 to year results in 99 BC (even though this actually reduces 584 * roll(Calendar::DATE, true). When rolling on the year or Calendar::YEAR field, i [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...] |
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/ |
XMPNormalizer.java | 476 cal.set(Calendar.YEAR, binOtherDate.getYear());
|