/packages/apps/Calendar/src/com/android/calendar/ |
AllInOneActivity.java | 72 import com.android.calendar.month.MonthByWeekFragment; 487 case ViewType.MONTH: 726 // or the view type is "Month" or "Agenda". 735 && (mController.getViewType() == ViewType.MONTH || 746 // custom drawable that shows the day of the month of today [all...] |
CalendarViewAdapter.java | 50 // Week view: show the month + year 51 // Month view: show the month + year 197 case ViewType.MONTH: 229 case ViewType.MONTH: 304 // Used when the user selects a new day/week/month to watch 340 // Full date: Month,day Year 341 // Month year 342 // Month day 343 // Month [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
DateWidgets1.java | 72 mMonth = c.get(Calendar.MONTH); 120 // Month is 0 based so add 1
|
/external/chromium_org/chrome/browser/ui/webui/ |
history_ui.h | 124 // - MONTH: the last calendar month. 128 MONTH = 2
|
/external/chromium_org/v8/src/ |
dateparser.cc | 14 // Day and month defaults to 1. 20 int month = kNone; local 27 month = comp_[1]; 31 month = comp_[0]; 36 month = named_month_; 56 if (!Smi::IsValid(year) || !IsMonth(month) || !IsDay(day)) return false; 59 output->set(MONTH, Smi::FromInt(month - 1)); // 0-based 149 // Word longer than keyword is only allowed for month names.
|
/frameworks/base/core/java/android/widget/ |
CalendarViewMaterialDelegate.java | 254 final int month = day.get(Calendar.MONTH); 256 mOnDateChangeListener.onSelectedDayChange(mDelegator, year, month, dayOfMonth);
|
CalendarViewLegacyDelegate.java | 71 * Affects when the month selection will change while scrolling upe 180 * The name of the month to display. 205 * Which month should be displayed/highlighted [0-11]. 245 * The first day of the focused month. 682 selectedDay.get(Calendar.MONTH), 757 * in range it will move the list so that the first of the month containing 795 // and if so scroll to the month that contains it 834 * Updates the title and selected month if the <code>view</code> has moved to a new 835 * month. 857 // Use some hysteresis for checking which month to highlight. Thi [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
Support_MessageFormat.java | 86 v.add(new FieldContainer(3, 6, DateFormat.Field.MONTH));
|
/libcore/support/src/test/java/tests/support/ |
Support_MessageFormat.java | 88 v.add(new FieldContainer(3, 6, DateFormat.Field.MONTH));
|
/cts/tests/tests/app.usage/src/android/app/usage/cts/ |
UsageStatsTest.java | 65 private static final long MONTH = 30 * DAY; 279 intervalLengths.put(UsageStatsManager.INTERVAL_MONTHLY, MONTH);
|
/external/nist-sip/java/gov/nist/javax/sip/header/ |
SIPDate.java | 108 /** month member 110 protected int month; field in class:SIPDate 141 this.month == other.month && 154 month = -1; 202 month = javaCal.get(Calendar.MONTH); 203 switch (month) { 242 "No date map for month " + month); [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
DateTest.java | 244 assertEquals("Returned incorrect month", 9, d.getMonth()); 305 assertEquals("Parsed incorrect month", 9, cal.get(Calendar.MONTH)); 387 assertEquals("Set incorrect month", 0, d.getMonth()); 444 cal.set(Calendar.MONTH, Calendar.JANUARY);
|
/libcore/luni/src/main/java/java/text/ |
DateFormat.java | 126 * to the {@link Calendar#MONTH} field. 707 * Marks the month part of a date. 709 public static final Field MONTH = new Field("month", Calendar.MONTH); 742 * Marks the day of the month part of a date. 744 public static final Field DAY_OF_MONTH = new Field("day of month", Calendar.DAY_OF_MONTH); 752 * Marks the day of the week in the month part of a date. 754 public static final Field DAY_OF_WEEK_IN_MONTH = new Field("day of week in month", 764 * Marks the week of the month part of a date [all...] |
SimpleDateFormat.java | 71 * <tr> <td>{@code F}</td> <td>day of week in month</td> <td>(Number)</td> <td>2 <i>(2nd Wed in July)</i></td> </tr> 75 * <tr> <td>{@code L}</td> <td>stand-alone month</td> <td>(Text)</td> <td>{@code L}:1 {@code LL}:01 {@code LLL}:Jan {@code LLLL}:January {@code LLLLL}:J</td> </tr> 76 * <tr> <td>{@code M}</td> <td>month in year</td> <td>(Text)</td> <td>{@code M}:1 {@code MM}:01 {@code MMM}:Jan {@code MMMM}:January {@code MMMMM}:J</td> </tr> 78 * <tr> <td>{@code W}</td> <td>week in month</td> <td>(Number)</td> <td>2</td> </tr> 82 * <tr> <td>{@code d}</td> <td>day in month</td> <td>(Number)</td> <td>10</td> </tr> 201 // 'L' and 'c' are ICU-compatible extensions for stand-alone month and stand-alone weekday. 597 dateFormatField = Field.MONTH; 601 dateFormatField = Field.MONTH; 711 int month = calendar.get(Calendar.MONTH); local [all...] |
/packages/apps/Contacts/src/com/android/contacts/datepicker/ |
DatePicker.java | 51 * A view for selecting a month / year / day based on a calendar like layout. 92 * @param monthOfYear The month that was set (0-11) for compatibility 94 * @param dayOfMonth The day of the month that was set. 125 mMonthPicker = (NumberPicker) findViewById(R.id.month); 131 * If the user is in a locale where the month names are numeric, 132 * use just the number instead of the "month" character for 152 /* We display the month 1-12 but store it 0-11 so always 156 // Adjust max day of the month 190 init(cal.get(Calendar.YEAR), cal.get(Calendar.MONTH), cal.get(Calendar.DAY_OF_MONTH), null); 260 private SavedState(Parcelable superState, int year, int month, int day, boolean hasYear [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/provider/ |
Alarm.java | 303 nextInstanceTime.set(Calendar.MONTH, time.get(Calendar.MONTH));
|
ClockDatabaseHelper.java | 86 ClockContract.InstancesColumns.MONTH + " INTEGER NOT NULL, " +
|
/packages/apps/Settings/src/com/android/settings/ |
DateTimeSettingsSetupWizard.java | 247 mDatePicker.updateDate(now.get(Calendar.YEAR), now.get(Calendar.MONTH), 320 mDatePicker.updateDate(now.get(Calendar.YEAR), now.get(Calendar.MONTH),
|
DateTimeSettings.java | 172 public void onDateSet(DatePicker view, int year, int month, int day) { 175 setDate(activity, year, month, day); 218 calendar.get(Calendar.MONTH), 254 calendar.get(Calendar.MONTH), 320 /* package */ static void setDate(Context context, int year, int month, int day) { 324 c.set(Calendar.MONTH, month);
|
/packages/apps/Exchange/src/com/android/exchange/utility/ |
CalendarUtilities.java | 236 int month; field in class:CalendarUtilities.TimeZoneDate 252 setWord(bytes, offset + MSFT_SYSTEMTIME_MONTH, rrule.month); 269 setWord(bytes, offset + MSFT_SYSTEMTIME_MONTH, cal.get(Calendar.MONTH) + 1); 291 // MSFT month = 0 means no daylight time 297 tzd.month = num -1; 331 testCalendar.set(GregorianCalendar.MONTH, tzd.month); 409 int month; field in class:CalendarUtilities.RRule 413 * Create an RRULE based on month and date 414 * @param _month the month (1 = JAN, 12 = DEC 460 int month = calendar.get(Calendar.MONTH); local [all...] |
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
DatePicker.java | 41 * A view for selecting a month / year / day based on a calendar like layout. 79 * @param monthOfYear The month that was set (0-11) for compatibility 81 * @param dayOfMonth The day of the month that was set. 113 mMonthPicker = (NumberPicker) findViewById(R.id.month); 119 * If the user is in a locale where the month names are numeric, 120 * use just the number instead of the "month" character for 139 /* We display the month 1-12 but store it 0-11 so always 143 // Adjust max day of the month 187 init(cal.get(Calendar.YEAR), cal.get(Calendar.MONTH), cal.get(Calendar.DAY_OF_MONTH), null); 249 } else if ((c == DateFormat.MONTH || c == 'L') && !didMonth) [all...] |
/frameworks/opt/calendar/src/com/android/calendarcommon2/ |
RecurrenceProcessor.java | 204 iterator.month + 1); 321 * Compute the day of the week for the first day of the month. "instance" has a 326 * (day of the month - 1) mod 7, and then make sure it's positive. We can simplify 341 * Generate a set according to the BYDAY rules. For each day of the month, determine 349 // For each month day, see if it's part of the set. (This makes some assumptions 433 int realMonth = iterator.month; 439 + " " + iterator.month 444 // if might be past the end of the month, we need to normalize it 449 realMonth = t.month; 452 Log.i(TAG, "normalized t=" + t + " " + t.month 892 int month = usebymonth local 1143 int month = date.month; local [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
ResponseData.java | 228 // Fill month byte 229 data[2] = byteToBCD(mCalendar.get(java.util.Calendar.MONTH) + 1);
|
/libcore/luni/src/main/java/java/util/zip/ |
ZipEntry.java | 297 modDate = (cal.get(Calendar.MONTH) + 1 << 5) | modDate;
|
/packages/apps/Email/tests/src/com/android/emailcommon/utility/ |
UtilityTest.java | 36 private void testParseDateTimesHelper(String date, int year, int month, 40 assertEquals(month, cal.get(Calendar.MONTH) + 1); 59 private void testParseEmailDateTimeHelper(String date, int year, int month, 61 GregorianCalendar cal = new GregorianCalendar(year, month - 1, day,
|