/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
DateTest.java | 248 assertEquals("Returned incorrect month", 9, d.getMonth()); 309 assertEquals("Parsed incorrect month", 9, cal.get(Calendar.MONTH)); 391 assertEquals("Set incorrect month", 0, d.getMonth()); 448 cal.set(Calendar.MONTH, Calendar.JANUARY);
|
/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...] |
/frameworks/base/core/java/android/text/format/ |
Time.java | 74 * Day of month [1-31] 79 * Month [0-11] 81 public int month; field in class:Time 126 public static final int MONTH = 5; 239 int n = DAYS_PER_MONTH[this.month]; 247 case MONTH: 280 this.month = 0; 562 this.month = that.month; 574 public void set(int second, int minute, int hour, int monthDay, int month, int year) [all...] |
DateUtils.java | 105 * This is not actually a useful month name in all locales. 219 * Return a localized string for the month of the year. 220 * @param month One of {@link Calendar#JANUARY Calendar.JANUARY}, 226 * @return Localized month of the year. 230 public static String getMonthString(int month, int abbrev) { 241 return names[month]; 580 && thenCal.get(Calendar.MONTH) == nowCal.get(Calendar.MONTH) 597 int thenMonth = time.month; 602 && (thenMonth == time.month) [all...] |
/libcore/luni/src/test/java/tests/api/java/util/ |
DateTest.java | 252 assertEquals("Returned incorrect month", 9, d.getMonth()); 315 assertEquals("Parsed incorrect month", 9, cal.get(Calendar.MONTH)); 391 assertEquals("Set incorrect month", 0, d.getMonth()); 448 cal.set(Calendar.MONTH, Calendar.JANUARY);
|
/packages/apps/DeskClock/src/com/android/deskclock/provider/ |
Alarm.java | 303 nextInstanceTime.set(Calendar.MONTH, time.get(Calendar.MONTH));
|
ClockDatabaseHelper.java | 89 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 | 192 public void onDateSet(DatePicker view, int year, int month, int day) { 195 setDate(activity, year, month, day); 244 calendar.get(Calendar.MONTH), 280 calendar.get(Calendar.MONTH), 349 /* package */ static void setDate(Context context, int year, int month, int day) { 353 c.set(Calendar.MONTH, month);
|
/frameworks/base/core/java/android/widget/ |
CalendarView.java | 104 * Affects when the month selection will change while scrolling upe 228 * The name of the month to display. 248 * Which month should be displayed/highlighted [0-11]. 288 * The first day of the focused month. 322 * @param month The month that was set [0-11]. 323 * @param dayOfMonth The day of the month that was set. 325 public void onSelectedDayChange(CalendarView view, int year, int month, int dayOfMonth); 477 * Sets the color for the dates of the focused month. 479 * @param color The focused month date color [all...] |
/libcore/luni/src/main/java/java/text/ |
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. 596 dateFormatField = Field.MONTH; 600 dateFormatField = Field.MONTH; 711 int month = calendar.get(Calendar.MONTH); local [all...] |
/packages/apps/Exchange/src/com/android/exchange/utility/ |
CalendarUtilities.java | 235 int month; field in class:CalendarUtilities.TimeZoneDate 251 setWord(bytes, offset + MSFT_SYSTEMTIME_MONTH, rrule.month); 268 setWord(bytes, offset + MSFT_SYSTEMTIME_MONTH, cal.get(Calendar.MONTH) + 1); 290 // MSFT month = 0 means no daylight time 296 tzd.month = num -1; 330 testCalendar.set(GregorianCalendar.MONTH, tzd.month); 408 int month; field in class:CalendarUtilities.RRule 412 * Create an RRULE based on month and date 413 * @param _month the month (1 = JAN, 12 = DEC 459 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...] |
/packages/apps/Calendar/src/com/android/calendar/ |
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...] |
/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 201 init(cal.get(Calendar.YEAR), cal.get(Calendar.MONTH), cal.get(Calendar.DAY_OF_MONTH), null); 271 private SavedState(Parcelable superState, int year, int month, int day, boolean hasYear [all...] |
/cts/tests/tests/text/src/android/text/format/cts/ |
TimeTest.java | 44 time.month = 2; 50 assertEquals(3, cal.get(Calendar.MONTH)); 52 assertEquals(expectedMonth, time.month); 56 time.month = 2; 59 assertEquals(expectedMonth, time.month); 74 final int month = 5; local 77 time.set(date, month, year); 79 assertEquals(month, time.month); 94 assertEquals(time.month, anotherTime.month) 583 final int month = 6; local [all...] |
/external/chromium_org/third_party/icu/source/tools/gendraft/ |
genheaders.pl | 127 ($DAY, $MONTH, $YEAR) = (localtime)[3,4,5];
|
/external/icu4c/tools/gendraft/ |
genheaders.pl | 127 ($DAY, $MONTH, $YEAR) = (localtime)[3,4,5];
|
/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 | 282 modDate = (cal.get(Calendar.MONTH) + 1 << 5) | modDate;
|
/libcore/luni/src/main/java/java/util/ |
SimpleTimeZone.java | 31 * {@code SimpleTimeZone} should count from the end of the month 102 * By default, this constructor specifies day-of-week-in-month rules. That 108 * Day of month: To specify an exact day of the month, such as March 1, set 111 * Day of week after day of month: To specify the first day of the week 112 * occurring on or after an exact day of the month, make the day of the week 117 * Day of week before day of month: To specify the last day of the week 118 * occurring on or before an exact day of the month, make the day of the 119 * week and the day of the month negative. For example, if {@code startDay} is {@code -21} 134 * the daylight savings starting month. The month indexing is 0-based. eg, [all...] |
/external/chromium_org/v8/src/ |
dateparser.h | 42 // [1]: month (0 = Jan, 1 = Feb, ...) 54 YEAR, MONTH, DAY, HOUR, MINUTE, SECOND, MILLISECOND, UTC_OFFSET, OUTPUT_SIZE 389 // If set, ensures that data is always parsed in year-month-date order.
|
/external/jsilver/src/org/clearsilver/jni/ |
JniHdf.java | 239 Integer.toString(cal.get(Calendar.MONTH)+1));
|
/external/v8/src/ |
dateparser.h | 42 // [1]: month (0 = Jan, 1 = Feb, ...) 54 YEAR, MONTH, DAY, HOUR, MINUTE, SECOND, MILLISECOND, UTC_OFFSET, OUTPUT_SIZE 389 // If set, ensures that data is always parsed in year-month-date order.
|