/packages/apps/Contacts/src/com/android/contacts/datepicker/ |
D | DatePickerDialog.java | 78 void onDateSet(DatePicker view, int year, int monthOfYear, int dayOfMonth); in onDateSet() argument 90 int year, in DatePickerDialog() argument 93 this(context, callBack, year, monthOfYear, dayOfMonth, false); in DatePickerDialog() 107 int year, in DatePickerDialog() argument 114 callBack, year, monthOfYear, dayOfMonth, yearOptional); in DatePickerDialog() 129 int year, in DatePickerDialog() argument 132 this(context, theme, callBack, year, monthOfYear, dayOfMonth, false); in DatePickerDialog() 148 int year, in DatePickerDialog() argument 155 mInitialYear = year; in DatePickerDialog() 199 public void onDateChanged(DatePicker view, int year, int month, int day) { in onDateChanged() argument [all …]
|
D | DatePicker.java | 93 void onDateChanged(DatePicker view, int year, int monthOfYear, int dayOfMonth); in onDateChanged() argument 159 mYearPicker = (NumberPicker) findViewById(R.id.year); in DatePicker() 282 public void updateDate(int year, int monthOfYear, int dayOfMonth) { in updateDate() argument 283 if (mYear != year || mMonth != monthOfYear || mDay != dayOfMonth) { in updateDate() 284 mYear = (mYearOptional && year == NO_YEAR) ? getCurrentYear() : year; in updateDate() 308 private SavedState(Parcelable superState, int year, int month, int day, boolean hasYear, in SavedState() argument 311 mYear = year; in SavedState() 411 public void init(int year, int monthOfYear, int dayOfMonth, in init() argument 413 init(year, monthOfYear, dayOfMonth, false, onDateChangedListener); in init() 424 public void init(int year, int monthOfYear, int dayOfMonth, boolean yearOptional, in init() argument [all …]
|
/packages/apps/Email/src/org/apache/james/mime4j/field/datetime/ |
D | DateTime.java | 34 private final int year; field in DateTime 43 this.year = convertToYear(yearString); in DateTime() 44 this.date = convertToDate(year, month, day, hour, minute, second, timeZone); in DateTime() 54 int year = Integer.parseInt(yearString); in convertToYear() local 58 if (year >= 0 && year < 50) in convertToYear() 59 return 2000 + year; in convertToYear() 61 return 1900 + year; in convertToYear() 63 return 1900 + year; in convertToYear() 65 return year; in convertToYear() 69 …public static Date convertToDate(int year, int month, int day, int hour, int minute, int second, i… in convertToDate() argument [all …]
|
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/ |
D | SimpleDate.java | 28 public int year; // YYYY field in SimpleDate 47 this.year = sCalendarInstance.get(Calendar.YEAR); in setTimestamp() 59 result = prime * result + year; in hashCode() 72 if (year != other.year) in equals() 83 int yearDiff = this.year - other.getYear(); in compareTo() 104 return year; in getYear()
|
/packages/apps/Calendar/tests/src/com/android/calendar/alerts/ |
D | AlertServiceTest.java | 623 int year = now.year; in testGenerateAlerts_refreshTime() local 628 long allDayStart = Utils.createTimeInMillis(0, 0, 0, day, month, year, Time.TIMEZONE_UTC); in testGenerateAlerts_refreshTime() 632 Utils.createTimeInMillis(0, 0, 10, day, month, year, Time.getCurrentTimezone()), in testGenerateAlerts_refreshTime() 633 Utils.createTimeInMillis(0, 30, 10, day, month, year, Time.getCurrentTimezone()), in testGenerateAlerts_refreshTime() 637 Utils.createTimeInMillis(0, 0, 6, day, month, year, Time.getCurrentTimezone()), in testGenerateAlerts_refreshTime() 638 Utils.createTimeInMillis(0, 0, 6, day, month, year, Time.getCurrentTimezone()), 0); in testGenerateAlerts_refreshTime() 645 yesterday.year, Time.getCurrentTimezone()), in testGenerateAlerts_refreshTime() 646 Utils.createTimeInMillis(0, 0, 7, day, month, year, Time.getCurrentTimezone()), 0); in testGenerateAlerts_refreshTime() 650 long currentTime = Utils.createTimeInMillis(0, 0, 0, day, month, year, in testGenerateAlerts_refreshTime() 662 currentTime = Utils.createTimeInMillis(0, 30, 0, day, month, year, in testGenerateAlerts_refreshTime() [all …]
|
D | Utils.java | 23 int month, int year, String timezone) { in createTimeInMillis() argument 25 t.set(second, minute, hour, monthDay, month, year); in createTimeInMillis()
|
/packages/apps/Email/src/org/apache/james/mime4j/field/datetime/parser/ |
D | DateTimeParser.java | 100 private String year; field in DateTimeParser.Date 104 public Date(String year, int month, int day) { in Date() argument 105 this.year = year; in Date() 110 public String getYear() { return year; } in getYear() 206 y = year(); in date() 276 final public String year() throws ParseException { in year() method in DateTimeParser
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
D | EventFieldEditorView.java | 230 public void onDateSet(DatePicker view, int year, int monthOfYear, int dayOfMonth) { in createDatePickerDialog() 231 if (year == 0 && !isYearOptional) throw new IllegalStateException(); in createDatePickerDialog() 239 outCalendar.set(year == DatePickerDialog.NO_YEAR ? 2000 : year, monthOfYear, in createDatePickerDialog() 243 if (year == 0) { in createDatePickerDialog()
|
/packages/apps/Calendar/src/com/android/calendar/event/ |
D | EditEventView.java | 338 public void onDateSet(DatePickerDialog view, int year, int month, int monthDay) { in onDateSet() argument 339 Log.d(TAG, "onDateSet: " + year + " " + month + " " + monthDay); in onDateSet() 351 int yearDuration = endTime.year - startTime.year; in onDateSet() 355 startTime.year = year; in onDateSet() 361 endTime.year = year + yearDuration; in onDateSet() 374 endTime.year = year; in onDateSet() 513 mTime.year, mTime.month, mTime.monthDay); in onClick()
|
/packages/apps/Settings/src/com/android/settings/ |
D | DateTimeSettings.java | 191 public void onDateSet(DatePicker view, int year, int month, int day) { in onDateSet() argument 194 setDate(activity, year, month, day); in onDateSet() 354 /* package */ static void setDate(Context context, int year, int month, int day) { in setDate() argument 357 c.set(Calendar.YEAR, year); in setDate()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/ui/ |
D | DateTileView.java | 87 public void setDate(int date, int month, int year) { in setDate() argument 102 if (year != mYear) { in setDate() 103 mYear = year; in setDate()
|
/packages/apps/Calendar/src/com/android/calendar/recurrencepicker/ |
D | RecurrencePickerDialog.java | 198 dest.writeInt(endDate.year); in writeToParcel() 725 mModel.endDate.year += 3; in onCreateView() 1082 public void onDateSet(DatePickerDialog view, int year, int monthOfYear, int dayOfMonth) { in onDateSet() argument 1087 mModel.endDate.year = year; in onDateSet() 1129 mDatePickerDialog = DatePickerDialog.newInstance(this, mModel.endDate.year, in onClick()
|
/packages/apps/Calendar/tests/src/com/android/calendar/ |
D | WeekNumberTest.java | 37 public DateAndWeekNumber(int year, int month, int day, int expectedWeekNumber) { in DateAndWeekNumber() argument 41 date.set(0, 0, 0, day, month, year); in DateAndWeekNumber() 44 allDayDate.set(day, month, year); in DateAndWeekNumber()
|
D | UtilsTests.java | 141 int month, int year) { in createTimeInMillis() argument 142 return createTimeInMillis(second, minute, hour, monthDay, month, year, in createTimeInMillis() 147 int month, int year, String timezone) { in createTimeInMillis() argument 149 t.set(second, minute, hour, monthDay, month, year); in createTimeInMillis()
|
D | FormatDateRangeTest.java | 52 year1 = year2 = date1.year; in DateTest()
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | DayOfMonthCursor.java | 50 public DayOfMonthCursor(int year, int month, int dayOfMonth, int weekStartDay) { in DayOfMonthCursor() argument 51 super(year, month, weekStartDay); in DayOfMonthCursor()
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
D | DateUtils.java | 114 private static final Calendar getUtcDate(int year, int month, int dayOfMonth) { in getUtcDate() argument 117 calendar.set(Calendar.YEAR, year); in getUtcDate()
|
/packages/inputmethods/PinyinIME/jni/include/ |
D | userdict.h | 165 #define COARSE_UTC(year, month, day, hour, minute, second) \ argument 167 (year - 1970) * 365 * 24 * 60 * 60 + \
|
/packages/apps/Calendar/src/com/android/calendar/month/ |
D | SimpleWeekView.java | 296 if (time.year == today.year && time.yearDay == today.yearDay) { in setWeekParams()
|
D | SimpleDayPickerFragment.java | 150 if (day.year != mSelectedDay.year || day.yearDay != mSelectedDay.yearDay) {
|
D | MonthByWeekFragment.java | 460 if (time.year == mDesiredDay.year && time.month == mDesiredDay.month) { in setMonthDisplayed()
|
/packages/apps/Calendar/src/com/android/calendar/widget/ |
D | CalendarAppWidgetService.java | 537 if (time.year != time2.year || time.yearDay != time2.yearDay) {
|
/packages/apps/Mms/src/com/android/mms/ui/ |
D | MessageUtils.java | 456 if (then.year != now.year) { in formatTimeStampString()
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
D | CalendarDatabaseHelper.java | 2753 newTime.set(oldTime.monthDay, oldTime.month, oldTime.year); in upgradeToVersion62() 2761 newTime.set(oldTime.monthDay, oldTime.month, oldTime.year); in upgradeToVersion62()
|
/packages/apps/Exchange/exchange2/src/com/android/exchange/utility/ |
D | CalendarUtilities.java | 237 String year; field in CalendarUtilities.TimeZoneDate 291 tzd.year = Integer.toString(num); in getTimeZoneDateFromSystemTime()
|