Home
last modified time | relevance | path

Searched refs:getYear (Results 1 – 25 of 25) sorted by relevance

/frameworks/ex/common/java/com/android/common/
DLegacyHttpDateTime.java97 year = getYear(rfcMatcher.group(3)); in parse()
105 year = getYear(ansicMatcher.group(4)); in parse()
180 private static int getYear(String yearString) { in getYear() method in LegacyHttpDateTime
/frameworks/base/core/java/android/app/admin/
DFreezePeriod.java170 now.getYear() + startYearAdjustment); in toCurrentOrFutureRealDates()
172 now.getYear() + endYearAdjustment); in toCurrentOrFutureRealDates()
204 + DAYS_IN_YEAR * (first.getYear() - second.getYear()); in distanceWithoutLeapYear()
/frameworks/base/core/java/android/text/format/
DTimeFormatter.java120 stringBuilder.append(localDateTime.getYear()); in formatMillisWithFixedFormat()
247 outputYear(wallTime.getYear(), true, false, modifier); in handleToken()
350 int year = wallTime.getYear(); in handleToken()
404 outputYear(wallTime.getYear(), false, true, modifier); in handleToken()
407 outputYear(wallTime.getYear(), true, true, modifier); in handleToken()
DTime.java1144 int n = wallTime.getYear(); in format2445()
1201 wallTime.getYear(), in toStringInternal()
1220 int diff = aObject.wallTime.getYear() - bObject.wallTime.getYear(); in compare()
1269 time.year = wallTime.getYear(); in copyFieldsToTime()
DDateUtils.java524 return (oneLocalDateTime.getYear() == twoLocalDateTime.getYear()) in isSameDate()
/frameworks/opt/tv/tvsystem/java/com/android/libraries/tv/tvsystem/display/
DDisplayCompatUtil.java63 info.getManufactureDate().getWeek(), info.getManufactureDate().getYear()); in getDeviceProductInfo()
DDeviceProductInfo.java144 public Integer getYear() { in getYear() method in DeviceProductInfo.ManufactureDate
/frameworks/base/core/java/android/app/
DDatePickerDialog.java173 mDateSetListener.onDateSet(mDatePicker, mDatePicker.getYear(), in onClick()
208 state.putInt(YEAR, mDatePicker.getYear()); in onSaveInstanceState()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DDatePicker.java319 public int getYear() { in getYear() method in DatePicker.SavedState
383 mYear = ss.getYear(); in onRestoreInstanceState()
445 public int getYear() { in getYear() method in DatePicker
/frameworks/base/core/tests/coretests/src/android/widget/
DDatePickerFocusTest.java152 assertEquals(2014, mDatePicker.getYear()); in testYearChoice()
238 assertEquals(year, mDatePicker.getYear()); in assertDateIs()
/frameworks/base/core/java/android/widget/
DDatePickerSpinnerDelegate.java262 public int getYear() { in getYear() method in DatePickerSpinnerDelegate
380 return new SavedState(superState, getYear(), getMonth(), getDayOfMonth(), in onSaveInstanceState()
583 mOnDateChangedListener.onDateChanged(mDelegator, getYear(), getMonth(), in notifyDateChanged()
587 mAutoFillChangeListener.onDateChanged(mDelegator, getYear(), getMonth(), in notifyDateChanged()
DDatePicker.java268 public int getYear() { in getYear() method in DatePicker
269 return mDelegate.getYear(); in getYear()
549 int getYear(); in getYear() method
DDatePickerCalendarDelegate.java410 public int getYear() { in getYear() method in DatePickerCalendarDelegate
/frameworks/base/core/java/android/util/
DMonthDisplayHelper.java71 public int getYear() { in getYear() method in MonthDisplayHelper
/frameworks/opt/tv/tvsystem/api/
Dcurrent.txt17 method public Integer getYear();
/frameworks/base/core/tests/coretests/src/android/util/
DMonthDisplayHelperTest.java134 assertEquals(2006, helper.getYear()); in testPrevMonthRollOver()
/frameworks/base/core/java/android/hardware/display/
DDeviceProductInfo.java216 public Integer getYear() { in getYear() method in DeviceProductInfo.ManufactureDate
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DMissedIncomingCallSmsFilter.java130 year = Integer.toString(now.getYear()); in getEpochTime()
/frameworks/base/services/core/java/com/android/server/display/color/
DColorDisplayService.java646 final LocalDateTime ldt = LocalDateTime.of(compareTime.getYear(), compareTime.getMonth(), in getDateTimeBefore()
662 final LocalDateTime ldt = LocalDateTime.of(compareTime.getYear(), compareTime.getMonth(), in getDateTimeAfter()
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/
DSmsMessage.java780 int year = localDateTime.getYear(); in getDeliverPdu()
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/sms/
DBearerData.java292 int year = localDateTime.getYear(); in fromMillis()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/frameworks/base/api/
Dcurrent.txt51668 method public int getYear();
59365 method public int getYear();
71574 method public int getYear();
71623 method public int getYear();
71804 method public int getYear();
72000 method public int getYear();
72076 method public int getYear();
73590 method @Deprecated public int getYear();
80397 method public abstract int getYear();
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt31649 method public int getYear();
37235 method public int getYear();
48034 method public deprecated int getYear();
53463 method public abstract int getYear();
/frameworks/base/config/
Dboot-image-profile.txt34952 HSPLjava/time/LocalDate;->getYear()I
34992 HSPLjava/time/LocalDateTime;->getYear()I
35872 HSPLjava/util/Date;->getYear()I
39981 HSPLsun/util/calendar/CalendarDate;->getYear()I