Home
last modified time | relevance | path

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

12

/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/datetime/
DDateTime.java35 private final int month; field in DateTime
42 …public DateTime(String yearString, int month, int day, int hour, int minute, int second, int timeZ… in DateTime() argument
44 this.date = convertToDate(year, month, day, hour, minute, second, timeZone); in DateTime()
45 this.month = month; in DateTime()
69 …public static Date convertToDate(int year, int month, int day, int hour, int minute, int second, i… in convertToDate() argument
71 c.set(year, month - 1, day, hour, minute, second); in convertToDate()
91 return month; in getMonth()
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/
DSimpleDate.java30 public int month; // MM field in SimpleDate
50 this.month = sCalendarInstance.get(Calendar.MONTH); in setTimestamp()
63 result = prime * result + month; in hashCode()
83 if (month != other.month) { in equals()
98 int monthDiff = this.month - other.getMonth(); in compareTo()
112 return month; in getMonth()
/packages/apps/Contacts/src/com/android/contacts/datepicker/
DDatePickerDialog.java149 public void onDateChanged(DatePicker view, int year, int month, int day) { in onDateChanged() argument
150 updateTitle(year, month, day); in onDateChanged()
153 private void updateTitle(int year, int month, int day) { in updateTitle() argument
156 calendar.set(Calendar.MONTH, month); in updateTitle()
177 int month = savedInstanceState.getInt(MONTH); in onRestoreInstanceState() local
180 mDatePicker.init(year, month, day, yearOptional, this); in onRestoreInstanceState()
181 updateTitle(year, month, day); in onRestoreInstanceState()
DDatePicker.java120 mMonthPicker = (NumberPicker) findViewById(R.id.month); in DatePicker()
255 private SavedState(Parcelable superState, int year, int month, int day, boolean hasYear, in SavedState() argument
259 mMonth = month; in SavedState()
/packages/apps/Calendar/src/com/android/calendar/month/
DSimpleDayPickerFragment.java17 package com.android.calendar.month;
519 int month; in updateMonthHighlight()
521 month = child.getFirstMonth(); in updateMonthHighlight()
523 month = child.getLastMonth(); in updateMonthHighlight()
528 if (mCurrentMonthDisplayed == 11 && month == 0) { in updateMonthHighlight()
530 } else if (mCurrentMonthDisplayed == 0 && month == 11) { in updateMonthHighlight()
533 monthDiff = month - mCurrentMonthDisplayed; in updateMonthHighlight()
565 mCurrentMonthDisplayed = time.month;
DSimpleWeekView.java17 package com.android.calendar.month;
274 mFirstMonth = time.month; in setWeekParams()
288 mFirstMonth = time.month; in setWeekParams()
290 mOddMonth [i] = (time.month %2) == 1; in setWeekParams()
291 if (time.month == focusMonth) { in setWeekParams()
309 mLastMonth = time.month; in setWeekParams()
DSimpleWeeksAdapter.java17 package com.android.calendar.month;
252 public void updateFocusMonth(int month) { in updateFocusMonth() argument
253 mFocusMonth = month; in updateFocusMonth()
DMonthByWeekFragment.java17 package com.android.calendar.month;
443 if (time.year == mDesiredDay.year && time.month == mDesiredDay.month) { in setMonthDisplayed()
DMonthListView.java17 package com.android.calendar.month;
DMonthByWeekAdapter.java17 package com.android.calendar.month;
DMonthWeekEventsView.java17 package com.android.calendar.month;
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/datetime/parser/
DDateTimeParser.java101 private int month; field in DateTimeParser.Date
104 public Date(String year, int month, int day) { in Date() argument
106 this.month = month; in Date()
111 public int getMonth() { return month; } in getMonth()
205 m = month(); in date()
218 final public int month() throws ParseException { in month() method in DateTimeParser
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/ui/
DDateTileView.java91 public void setDate(int date, int month, int year) { in setDate() argument
98 if (month == mMonth) { in setDate()
102 if (month != mMonth) { in setDate()
103 mMonth = month; in setDate()
/packages/apps/Settings/src/com/android/settings/datetime/
DDatePreferenceController.java89 public void onDateSet(DatePicker view, int year, int month, int day) { in onDateSet() argument
90 setDate(year, month, day); in onDateSet()
113 void setDate(int year, int month, int day) { in setDate() argument
117 c.set(Calendar.MONTH, month); in setDate()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datetime/
DDatePreferenceController.java89 public void onDateSet(DatePicker view, int year, int month, int day) { in onDateSet() argument
90 setDate(year, month, day); in onDateSet()
113 void setDate(int year, int month, int day) { in setDate() argument
117 c.set(Calendar.MONTH, month); in setDate()
/packages/apps/Email/tests/src/com/android/emailcommon/utility/
DUtilityTest.java36 private void testParseDateTimesHelper(String date, int year, int month, in testParseDateTimesHelper() argument
40 assertEquals(month, cal.get(Calendar.MONTH) + 1); in testParseDateTimesHelper()
59 private void testParseEmailDateTimeHelper(String date, int year, int month, in testParseEmailDateTimeHelper() argument
61 GregorianCalendar cal = new GregorianCalendar(year, month - 1, day, in testParseEmailDateTimeHelper()
/packages/apps/Calendar/tests/src/com/android/calendar/
DWeekNumberTest.java37 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()
DUtilsTests.java141 int month, int year) { in createTimeInMillis()
142 return createTimeInMillis(second, minute, hour, monthDay, month, year, in createTimeInMillis()
147 int month, int year, String timezone) { in createTimeInMillis()
149 t.set(second, minute, hour, monthDay, month, year); in createTimeInMillis()
/packages/apps/Contacts/src/com/android/contacts/util/
DDateUtils.java112 private static final Calendar getUtcDate(int year, int month, int dayOfMonth) { in getUtcDate() argument
116 calendar.set(Calendar.MONTH, month); in getUtcDate()
/packages/apps/Calendar/src/com/android/calendar/
DCalendarViewAdapter.java394 if (t.month != t1.month) { in buildWeekDate()
DAllInOneActivity.java70 import com.android.calendar.month.MonthByWeekFragment;
DDayView.java1116 if (start.month != end.month) { in updateTitle()
/packages/apps/Calendar/
Dproguard.flags22 -keepclassmembers class com.android.calendar.month.MonthWeekEventsView {
/packages/apps/Contacts/src/com/android/contacts/model/
DRawContactModifier.java1220 final int month = calendar.get(Calendar.MONTH); in migrateEvent() local
1223 calendar.set(defaultYear, month, day, in migrateEvent()
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarDatabaseHelper.java2759 newTime.set(oldTime.monthDay, oldTime.month, oldTime.year); in upgradeToVersion62()
2767 newTime.set(oldTime.monthDay, oldTime.month, oldTime.year); in upgradeToVersion62()

12