Searched defs:month (Results 1 - 15 of 15) sorted by last modified time

/packages/apps/Settings/src/com/android/settings/
H A DDateTimeSettings.java183 public void onDateSet(DatePicker view, int year, int month, int day) { argument
184 setDate(year, month, day);
339 /* package */ static void setDate(int year, int month, int day) { argument
343 c.set(Calendar.MONTH, month);
/packages/apps/Email/emailcommon/src/org/apache/james/mime4j/field/datetime/
H A DDateTime.java35 private final int month; field in class:DateTime
42 public DateTime(String yearString, int month, int day, int hour, int minute, int second, int timeZone) { argument
44 this.date = convertToDate(year, month, day, hour, minute, second, timeZone);
45 this.month = month;
69 public static Date convertToDate(int year, int month, int day, int hour, int minute, int second, int timeZone) { argument
71 c.set(year, month - 1, day, hour, minute, second);
91 return month;
/packages/apps/Email/emailcommon/src/org/apache/james/mime4j/field/datetime/parser/
H A DDateTimeParser.java101 private int month; field in class:DateTimeParser.Date
104 public Date(String year, int month, int day) { argument
106 this.month = month;
111 public int getMonth() { return month; }
205 m = month();
218 final public int month() throws ParseException { method in class:DateTimeParser
/packages/apps/Exchange/src/com/android/exchange/utility/
H A DCalendarUtilities.java222 int month; field in class:CalendarUtilities.TimeZoneDate
238 setWord(bytes, offset + MSFT_SYSTEMTIME_MONTH, rrule.month);
277 // MSFT month = 0 means no daylight time
283 tzd.month = num -1;
317 testCalendar.set(GregorianCalendar.MONTH, tzd.month);
395 int month; field in class:CalendarUtilities.RRule
399 * Create an RRULE based on month and date
400 * @param _month the month (1 = JAN, 12 = DEC)
401 * @param _date the date in the month (1-31)
405 month
[all...]
/packages/apps/Contacts/src/com/android/contacts/datepicker/
H A DDatePicker.java47 * A view for selecting a month / year / day based on a calendar like layout.
85 * @param monthOfYear The month that was set (0-11) for compatibility
87 * @param dayOfMonth The day of the month that was set.
116 mMonthPicker = (NumberPicker) findViewById(R.id.month);
122 * If the user is in a locale where the month names are numeric,
123 * use just the number instead of the "month" character for
142 /* We display the month 1-12 but store it 0-11 so always
146 // Adjust max day of the month
300 private SavedState(Parcelable superState, int year, int month, int day, boolean hasYear, argument
304 mMonth = month;
[all...]
H A DDatePickerDialog.java49 private static final String MONTH = "month";
70 * @param monthOfYear The month that was set (0-11) for compatibility
72 * @param dayOfMonth The day of the month that was set.
81 * @param monthOfYear The initial month of the dialog.
96 * @param monthOfYear The initial month of the dialog.
117 * @param monthOfYear The initial month of the dialog.
134 * @param monthOfYear The initial month of the dialog.
176 /* Sometimes the full month is displayed causing the title
194 int month, int day) {
195 updateTitle(year, month, da
193 onDateChanged(DatePicker view, int year, int month, int day) argument
205 updateTitle(int year, int month, int day) argument
[all...]
/packages/apps/Calendar/src/com/android/calendar/
H A DDayOfMonthCursor.java22 * Helps control and display a month view of a calendar that has a current
25 * <li>Keeps track of current month, day, year</li>
31 * This should be used by anyone who presents a month view to users and wishes
33 * mind about when to flip the month, we can change it here only.
44 * @param month The initial month.
50 public DayOfMonthCursor(int year, int month, int dayOfMonth, int weekStartDay) { argument
51 super(year, month, weekStartDay);
75 * @return 0 if the selection is in the current month, otherwise -1 or +1
98 * Move up one box, potentially flipping to the previous month
[all...]
/packages/apps/Calendar/src/com/android/calendar/event/
H A DEditEventView.java280 public void onDateSet(DatePicker view, int year, int month, int monthDay) { argument
281 Log.d(TAG, "onDateSet: " + year + " " + month + " " + monthDay);
294 int monthDuration = endTime.month - startTime.month;
298 startTime.month = month;
304 endTime.month = month + monthDuration;
314 endTime.month = month;
[all...]
/packages/apps/Calendar/src/com/android/calendar/month/
H A DMonthByWeekAdapter.java17 package com.android.calendar.month;
268 // If agenda view is visible with month view , refresh the views
H A DMonthByWeekFragment.java17 package com.android.calendar.month;
196 // mTempTime.month++;
198 // mTempTime.month--;
210 // mTempTime.month += diff;
212 // mTempTime.month -= diff;
426 if (time.year == mDesiredDay.year && time.month == mDesiredDay.month) {
H A DMonthWeekEventsView.java17 package com.android.calendar.month;
243 // divided up by day for generating the large month version and the full
H A DSimpleDayPickerFragment.java17 package com.android.calendar.month;
53 * easily display a month selection component in a given style.
61 // Affects when the month selection will change while scrolling up
70 // The size of the month name displayed above the week list
106 // The first day of the focus month
110 // The name of the month to display
114 // which month should be displayed/highlighted [0-11]
240 // set the title to the month of the second week
367 * in range it will move the list so that the first of the month containing
443 // and if so scroll to the month tha
[all...]
H A DSimpleWeekView.java17 package com.android.calendar.month;
82 * Which month is currently in focus, as defined by {@link Time#month}
87 * If this month should display week numbers. false if 0, true otherwise.
120 // Quick lookup for checking which days are in the focus month
124 // The month of the first day in this week
126 // The month of the last day in this week
202 * will only update if a new value is included, except for focus month,
203 * which will always default to no focus month if no value is passed in. See
271 mFirstMonth = time.month;
[all...]
H A DSimpleWeeksAdapter.java17 package com.android.calendar.month;
56 * Which month should be in focus currently.
247 * Changes which month is in focus and updates the view.
249 * @param month The month to show as in focus [0-11]
251 public void updateFocusMonth(int month) { argument
252 mFocusMonth = month;
/packages/apps/Calendar/tests/src/com/android/calendar/
H A DWeekNumberTest.java37 public DateAndWeekNumber(int year, int month, int day, int expectedWeekNumber) { argument
41 date.set(0, 0, 0, day, month, year);
44 allDayDate.set(day, month, year);

Completed in 524 milliseconds