/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/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 890 int month = usebymonth local 1141 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(calendar.get(java.util.Calendar.MONTH) + 1);
|
/libcore/luni/src/main/java/java/util/zip/ |
ZipEntry.java | 283 modDate = (cal.get(Calendar.MONTH) + 1 << 5) | modDate;
|
/frameworks/base/services/java/com/android/server/ |
ThrottleService.java | 722 int month = end.get(Calendar.MONTH); local 723 if (month == Calendar.DECEMBER) { 725 month = Calendar.JANUARY - 1; 727 end.set(Calendar.MONTH, month + 1); 740 int month = end.get(Calendar.MONTH); local 741 if (end.get(Calendar.MONTH) == Calendar.JANUARY) { 742 month = Calendar.DECEMBER + 1 [all...] |
/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...] |
Formatter.java | 340 * <td width="25%">Localized month name (abbreviated).</td> 346 * <td width="25%">Localized month name (full).</td> 364 * <td width="25%">2-digit day of month (01-31).</td> 376 * <td width="25%">Day of month (1-31).</td> 430 * <td width="25%">2-digit month of year (01-12).</td> [all...] |
/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.
|
/tools/motodev/src/plugins/logger.collector/src/com/motorola/studio/android/logger/collector/ui/wizard/ |
LoggerCollectorWizardPage.java | 161 filenameText.setText("studio_andr_" + c.get(Calendar.YEAR) + c.get(Calendar.MONTH)
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
KeyStore2Test.java | 682 int monthExpected = Calendar.getInstance().get(Calendar.MONTH); 689 int monthActual1 = Calendar.getInstance().get(Calendar.MONTH); 703 int monthActual2 = Calendar.getInstance().get(Calendar.MONTH); [all...] |
/frameworks/base/core/java/android/text/format/ |
DateUtils.java | 109 * This is not actually a useful month name in all locales. 149 // used for formatting a start and end date that fall in the same month. 270 * Return a localized string for the month of the year. 271 * @param month One of {@link Calendar#JANUARY Calendar.JANUARY}, 277 * @return Localized month of the year. 281 public static String getMonthString(int month, int abbrev) { 296 return names[month]; 300 * Return a localized string for the month of the year, for 301 * contexts where the month is not formatted together with 302 * a day of the month [all...] |
/external/icu4c/i18n/unicode/ |
calendar.h | 54 * <code>YEAR</code>, <code>MONTH</code>, <code>DAY</code>, <code>HOUR</code>, 90 * <code>UDate</code> (such as only year and month but no day in the month), 98 * start of the epoch: i.e., YEAR = 1970, MONTH = JANUARY, DATE = 1, etc. 109 * MONTH + DAY_OF_MONTH 110 * MONTH + WEEK_OF_MONTH + DAY_OF_WEEK 111 * MONTH + DAY_OF_WEEK_IN_MONTH + DAY_OF_WEEK 130 * month, day-of-month <em>and</em> day-of-week in some cases. 154 * month up in the date <code>December 12, <b>1996</b></code> results i [all...] |
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/ |
XMPNormalizer.java | 477 cal.set(Calendar.MONTH, binOtherDate.getMonth());
|
/frameworks/base/obex/javax/obex/ |
ObexHelper.java | 247 temp.set(Calendar.MONTH, Integer.parseInt(dateString.substring( 438 temp = dateHeader.get(Calendar.MONTH); [all...] |
/packages/apps/Exchange/exchange2/tests/src/com/android/exchange/utility/ |
CalendarUtilitiesTests.java | 214 assertEquals(cal.get(Calendar.MONTH), 1); // 0 based 229 assertEquals(cal.get(Calendar.MONTH), 1); // 0 based 669 // The last Saturday of the month 673 // The third Wednesday and Thursday of the month 683 // The 14th of the every month [all...] |
/packages/apps/Exchange/tests/src/com/android/exchange/utility/ |
CalendarUtilitiesTests.java | 224 assertEquals(cal.get(Calendar.MONTH), 1); // 0 based 239 assertEquals(cal.get(Calendar.MONTH), 1); // 0 based 679 // The last Saturday of the month 683 // The third Wednesday and Thursday of the month [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/ |
shell.js | 259 * year-month-day mode: dt = new Date(2000, 5, 1, ...); 279 ResultArray[MONTH] = MonthFromTime(t); 426 var month = MonthFromTime(t); 428 if ( month == 0 ) { 431 if ( month == 1 ) { 434 if ( month == 2 ) { 437 if ( month == 3 ) { 440 if ( month == 4 ) { 443 if ( month == 5 ) { 446 if ( month == 6 ) [all...] |
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/ |
Tool.java | [all...] |
/frameworks/base/services/java/com/android/server/am/ |
UsageStatsService.java | 291 int mm = mCal.get(Calendar.MONTH) - Calendar.JANUARY +1; [all...] |
/packages/apps/Calendar/src/com/android/calendar/ |
CalendarController.java | 139 * One of the Agenda/Day/Week/Month view types 147 final int MONTH = 4; [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
org.eclipse.equinox.app_1.3.1.R36x_v20100803.jar | |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
CdmaServiceStateTracker.java | 1275 int month = Integer.parseInt(nitzSubs[1]) - 1; local [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
GsmServiceStateTracker.java | 1382 int month = Integer.parseInt(nitzSubs[1]) - 1; local [all...] |