/external/ksoap2/kobjects/org/ksoap2/kobjects/isodate/ |
IsoDate.java | 51 c.get(Calendar.MONTH) - Calendar.JANUARY + 1); 84 Calendar.MONTH,
|
/cts/tests/tests/text/src/android/text/format/cts/ |
DateFormatTest.java | 51 private static final int MONTH = Calendar.DECEMBER; // java.util.Calendar months are 0-based. 162 Date date = new Date(YEAR_FROM_1900, MONTH, DAY, HOUR, MINUTE); 185 Calendar calendar = new GregorianCalendar(YEAR, MONTH, DAY); 188 Date formatDate = new Date(YEAR_FROM_1900, MONTH, DAY); 292 assertTrue(locale.toString() + " month not found", seenMonth);
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
CopticCalendar.java | 30 * the 1st month of the Coptic year. 36 * the 2nd month of the Coptic year. 42 * the 3rd month of the Coptic year. 48 * the 4th month of the Coptic year. 54 * the 5th month of the Coptic year. 60 * the 6th month of the Coptic year. 66 * the 7th month of the Coptic year. 72 * the 8th month of the Coptic year. 78 * the 9th month of the Coptic year. 84 * the 10th month of the Coptic year. [all...] |
IndianCalendar.java | 29 * Month Length Start date (Gregorian) 71 * Constant for Chaitra, the 1st month of the Indian year. 76 * Constant for Vaisakha, the 2nd month of the Indian year. 81 * Constant for Jyaistha, the 3rd month of the Indian year. 86 * Constant for Asadha, the 4th month of the Indian year. 91 * Constant for Sravana, the 5th month of the Indian year. 96 * Constant for Bhadra, the 6th month of the Indian year. 101 * Constant for Asvina, the 7th month of the Indian year. 106 * Constant for Kartika, the 8th month of the Indian year. 111 * Constant for Agrahayana, the 9th month of the Indian year. 501 int year, month, day; local [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
RelativeDateTimeFormatterTest.java | 54 {1.0, Direction.NEXT, RelativeUnit.MONTHS, "in 1 month"}, 83 {1.0, Direction.LAST, RelativeUnit.MONTHS, "1 month ago"}, 123 {1.0, Direction.NEXT, RelativeUnit.MONTHS, "In 1 month"}, 152 {1.0, Direction.LAST, RelativeUnit.MONTHS, "1 month ago"}, 360 {Direction.NEXT, AbsoluteUnit.MONTH, "next month"}, 374 {Direction.LAST, AbsoluteUnit.MONTH, "last month"}, 386 {Direction.THIS, AbsoluteUnit.MONTH, "this month"}, [all...] |
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/calendar/ |
CalendarPanel.java | 106 int month = fCalendar[0].get(Calendar.MONTH); local 111 fCalendar[0].set(Calendar.MONTH, month); 140 // Stash away a Date for the start of this month 142 // Find the day of week of the first day in this month 147 // Now find the # of days in the month 151 // Finally, find the end of the month, i.e. the start of the next one 153 c.add(Calendar.MONTH, 1); 163 // Calculate the number of full or partial weeks in this month 329 String month = fSymbols[i].getMonths()[ local [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
CopticCalendar.java | 30 * the 1st month of the Coptic year. 37 * the 2nd month of the Coptic year. 44 * the 3rd month of the Coptic year. 51 * the 4th month of the Coptic year. 58 * the 5th month of the Coptic year. 65 * the 6th month of the Coptic year. 72 * the 7th month of the Coptic year. 79 * the 8th month of the Coptic year. 86 * the 9th month of the Coptic year. 93 * the 10th month of the Coptic year. [all...] |
IndianCalendar.java | 28 * Month Length Start date (Gregorian) 72 * Constant for Chaitra, the 1st month of the Indian year. 78 * Constant for Vaisakha, the 2nd month of the Indian year. 84 * Constant for Jyaistha, the 3rd month of the Indian year. 90 * Constant for Asadha, the 4th month of the Indian year. 96 * Constant for Sravana, the 5th month of the Indian year. 102 * Constant for Bhadra, the 6th month of the Indian year. 108 * Constant for Asvina, the 7th month of the Indian year. 114 * Constant for Kartika, the 8th month of the Indian year. 120 * Constant for Agrahayana, the 9th month of the Indian year. 530 int year, month, day; local [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
RelativeDateTimeFormatterTest.java | 50 {1.0, Direction.NEXT, RelativeUnit.MONTHS, "in 1 month"}, 79 {1.0, Direction.LAST, RelativeUnit.MONTHS, "1 month ago"}, 119 {1.0, Direction.NEXT, RelativeUnit.MONTHS, "In 1 month"}, 148 {1.0, Direction.LAST, RelativeUnit.MONTHS, "1 month ago"}, 356 {Direction.NEXT, AbsoluteUnit.MONTH, "next month"}, 370 {Direction.LAST, AbsoluteUnit.MONTH, "last month"}, 382 {Direction.THIS, AbsoluteUnit.MONTH, "this month"}, [all...] |
/frameworks/base/core/java/android/widget/ |
CalendarViewMaterialDelegate.java | 117 final int month = day.get(Calendar.MONTH); 119 mOnDateChangeListener.onSelectedDayChange(mDelegator, year, month, dayOfMonth);
|
DatePickerCalendarDelegate.java | 47 * A delegate for picking up a date (day / month / year). 129 // color from the header month text appearance. If it's set, we'll let 253 // If the newly selected month / year does not contain the 255 // to the last day of the selected month or year. 259 final int month = mCurrentDate.get(Calendar.MONTH); 260 final int daysInMonth = getDaysInMonth(month, year); 380 mCurrentDate.set(Calendar.MONTH, monthOfYear); 389 public void updateDate(int year, int month, int dayOfMonth) { 391 mCurrentDate.set(Calendar.MONTH, month) 537 final int month = mCurrentDate.get(Calendar.MONTH); local [all...] |
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/utils/ |
ObexTime.java | 97 cal.get(Calendar.YEAR), cal.get(Calendar.MONTH) + 1,
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/picker/ |
DatePicker.java | 35 * year, month, and day Columns. The "minDate" and "maxDate" from which dates to be selected 210 mTempDate.add(Calendar.MONTH, newVal - oldVal); 216 setDate(mTempDate.get(Calendar.YEAR), mTempDate.get(Calendar.MONTH), 301 private void setDate(int year, int month, int dayOfMonth) { 302 mCurrentDate.set(year, month, dayOfMonth); 314 * @param month The month which is <strong>starting from zero</strong>. 315 * @param dayOfMonth The day of the month. 318 public void updateDate(int year, int month, int dayOfMonth, boolean animation) { 319 if (!isNewDate(year, month, dayOfMonth)) [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/utils/ |
ObexTime.java | 97 cal.get(Calendar.YEAR), cal.get(Calendar.MONTH) + 1,
|
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/ |
SimpleDate.java | 26 * Represents a date (year, month, day) 30 public int month; // MM field in class:SimpleDate 50 this.month = sCalendarInstance.get(Calendar.MONTH); 63 result = prime * result + month; 83 if (month != other.month) { 98 int monthDiff = this.month - other.getMonth(); 112 return month;
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
DateIntervalFormat.java | 89 * year, month, date, day-of-week, am-pm, hour, hour-of-day, minute, and 93 * year > month > date > hour (in day) > minute > second 114 * If the largest different calendar field between date1 and date2 is "month", 120 * For date skeleton, the interval patterns when year, or month, or date is 138 * when the year, month, or day differs, falls back to fall-back 159 * For example, if user only requests year and month, 222 * // Only ERA, YEAR, MONTH, DATE, DAY_OF_MONTH, DAY_OF_WEEK, AM_PM, HOUR, HOUR_OF_DAY, 225 * dtitvinf.setIntervalPattern("yMMMd", Calendar.MONTH, "yyyy 'diff' MMM d - MMM d"); 447 * "EEE, d MMM - EEE, d MMM, yyyy" for month differs, 638 } else if ( fromCalendar.get(Calendar.MONTH) ! [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
DateIntervalFormat.java | 88 * year, month, date, day-of-week, am-pm, hour, hour-of-day, minute, and 92 * year > month > date > hour (in day) > minute > second 113 * If the largest different calendar field between date1 and date2 is "month", 119 * For date skeleton, the interval patterns when year, or month, or date is 137 * when the year, month, or day differs, falls back to fall-back 158 * For example, if user only requests year and month, 221 * // Only ERA, YEAR, MONTH, DATE, DAY_OF_MONTH, DAY_OF_WEEK, AM_PM, HOUR, HOUR_OF_DAY, 224 * dtitvinf.setIntervalPattern("yMMMd", Calendar.MONTH, "yyyy 'diff' MMM d - MMM d"); 448 * "EEE, d MMM - EEE, d MMM, yyyy" for month differs, 645 } else if ( fromCalendar.get(Calendar.MONTH) ! [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/ |
HolidayTest.java | 151 // Stash away a Date for the start of this month 153 // Find the day of week of the first day in this month 157 // Now find the # of days in the month 161 // Finally, find the end of the month, i.e. the start of the next one 163 c.add(Calendar.MONTH, 1); 169 // Calculate the number of full or partial weeks in this month. 175 // Remember which holidays fall on which days in this month, 190 errln("Error: for " + h.getDisplayName()+": " + d +" is after end of month " + endOfMonth); 216 int month = fCalendar.get(Calendar.MONTH); local [all...] |
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base.tests/src/com/ibm/icu/tests/ |
CalendarTest.java | 166 assertEquals(0, cal.get(Calendar.MONTH)); 214 assertEquals(0, cal.get(Calendar.MONTH)); 280 assertEquals(11, cal.getActualMaximum(Calendar.MONTH)); 288 assertEquals(0, cal.getActualMinimum(Calendar.MONTH)); 319 assertEquals(2, cal.get(Calendar.MONTH));
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/ |
HolidayTest.java | 147 // Stash away a Date for the start of this month 149 // Find the day of week of the first day in this month 153 // Now find the # of days in the month 157 // Finally, find the end of the month, i.e. the start of the next one 159 c.add(Calendar.MONTH, 1); 165 // Calculate the number of full or partial weeks in this month. 171 // Remember which holidays fall on which days in this month, 186 errln("Error: for " + h.getDisplayName()+": " + d +" is after end of month " + endOfMonth); 212 int month = fCalendar.get(Calendar.MONTH); local [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/provider/ |
Alarm.java | 78 ClockDatabaseHelper.INSTANCES_TABLE_NAME + "." + ClockContract.InstancesColumns.MONTH, 358 previousInstanceTime.set(Calendar.MONTH, currentTime.get(Calendar.MONTH)); 377 nextInstanceTime.set(Calendar.MONTH, currentTime.get(Calendar.MONTH));
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/ |
TimeZoneBoundaryTest.java | 208 showNN(cal.get(Calendar.MONTH) + 1) + "/" + 227 showNN(cal.get(Calendar.MONTH) + 1) + "/" + 271 int offset = time_zone.getOffset(cal.get(Calendar.ERA), cal.get(Calendar.YEAR), cal.get(Calendar.MONTH), 282 ", month=" + cal.get(Calendar.MONTH) + 296 * Check that the given year/month/dom/hour maps to and from the 304 void verifyMapping(Calendar cal, int year, int month, int dom, int hour, 308 cal.set(year, month, dom, hour, 0, 0); 313 logln("Ok: " + year + "/" + (month+1) + "/" + dom + " " + hour + ":00 => " + 316 errln("FAIL: " + year + "/" + (month+1) + "/" + dom + " " + hour + ":00 => " [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/ |
TimeZoneBoundaryTest.java | 204 showNN(cal.get(Calendar.MONTH) + 1) + "/" + 223 showNN(cal.get(Calendar.MONTH) + 1) + "/" + 267 int offset = time_zone.getOffset(cal.get(Calendar.ERA), cal.get(Calendar.YEAR), cal.get(Calendar.MONTH), 278 ", month=" + cal.get(Calendar.MONTH) + 292 * Check that the given year/month/dom/hour maps to and from the 300 void verifyMapping(Calendar cal, int year, int month, int dom, int hour, 304 cal.set(year, month, dom, hour, 0, 0); 309 logln("Ok: " + year + "/" + (month+1) + "/" + dom + " " + hour + ":00 => " + 312 errln("FAIL: " + year + "/" + (month+1) + "/" + dom + " " + hour + ":00 => " [all...] |
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/ |
DatePickerDialog.java | 62 private static final String KEY_SELECTED_MONTH = "month"; 121 * @param monthOfYear The month that was set (0-11) for compatibility 123 * @param dayOfMonth The day of the month that was set. 144 * @param monthOfYear The initial month of the dialog. 158 mCalendar.set(Calendar.MONTH, monthOfYear); 170 mCalendar.set(Calendar.MONTH, savedInstanceState.getInt(KEY_SELECTED_MONTH)); 179 outState.putInt(KEY_SELECTED_MONTH, mCalendar.get(Calendar.MONTH)); 254 mCalendar.get(Calendar.MONTH), mCalendar.get(Calendar.DAY_OF_MONTH)); 340 mSelectedMonthTextView.setText(mCalendar.getDisplayName(Calendar.MONTH, Calendar.SHORT, 384 * @param calendar a Calendar object set to the year, month, day desired as the mindate [all...] |
/libcore/luni/src/test/java/libcore/java/util/ |
CalendarTest.java | 147 private void testSetSelfConsistent(TimeZone timeZone, int year, int month, int day) { 152 calendar.set(year, month, day, hour, minute); 154 assertEquals(month, calendar.get(Calendar.MONTH)); 199 int year, int month, int day, int hour, int minute) { 201 assertEquals("month", month, calendar.get(Calendar.MONTH)); 230 cal.set(Calendar.MONTH, Calendar.JANUARY);
|