/libcore/luni/src/test/java/libcore/java/text/ |
SimpleDateFormatTest.java | 89 assertEquals(Calendar.JUNE, parseDateUtc(en, "yyyy-MMMM-dd", "1980-June-12").get(Calendar.MONTH)); 90 assertEquals(Calendar.JUNE, parseDateUtc(en, "yyyy-LLLL-dd", "1980-June-12").get(Calendar.MONTH)); 91 assertEquals(Calendar.JUNE, parseDateUtc(pl, "yyyy-MMMM-dd", "1980-czerwca-12").get(Calendar.MONTH)); 92 assertEquals(Calendar.JUNE, parseDateUtc(pl, "yyyy-LLLL-dd", "1980-czerwiec-12").get(Calendar.MONTH)); 589 assertEquals("Jan", formatDateNonGregorianCalendar("MMM")); // MONTH
|
/libcore/ojluni/src/main/java/java/time/temporal/ |
ChronoField.java | 91 * For example, most non-ISO calendar systems define dates as a year, month and day, 347 * The aligned day-of-week within a month. 350 * where the weeks are aligned to the start of the month. 353 * For example, in a calendar systems with a seven day week, the first aligned-week-of-month 354 * starts on day-of-month 1, the second aligned-week starts on day-of-month 8, and so on. 357 * As such, day-of-month 1 to 7 will have aligned-day-of-week values from 1 to 7. 358 * And day-of-month 8 to 14 will repeat this with aligned-day-of-week values from 1 to 7. 383 * The day-of-month. 385 * This represents the concept of the day within the month [all...] |
/libcore/ojluni/src/main/java/java/util/logging/ |
XMLFormatter.java | 63 a2(sb, cal.get(Calendar.MONTH) + 1);
|
/libcore/ojluni/src/main/java/sun/util/locale/provider/ |
CalendarDataUtility.java | 165 case Calendar.MONTH:
|
/packages/apps/DeskClock/src/com/android/deskclock/provider/ |
ClockDatabaseHelper.java | 91 ClockContract.InstancesColumns.MONTH + " INTEGER NOT NULL, " +
|
/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,
|
/libcore/ojluni/src/main/java/java/text/ |
SimpleDateFormat.java | 134 * <td>Month in year (context sensitive) 135 * <td><a href="#month">Month</a> 146 * <td>Week in month 158 * <td>Day in month 164 * <td>Day of week in month 303 * <li><strong><a name="month">Month:</a></strong> 304 * If the number of pattern letters is 3 or more, the month is 512 * The symbols used by this formatter for week names, month names [all...] |
/libcore/ojluni/src/main/java/java/util/ |
Formatter.java | 453 * full month name}, e.g. {@code "January"}, {@code "February"}. 457 * java.text.DateFormatSymbols#getShortMonths abbreviated month name}, 491 * <td> Month, formatted as two digits with leading zeros as necessary, 495 * <td> Day of month, formatted as two digits with leading zeros as 499 * <td> Day of month, formatted as two digits, i.e. {@code 1 - 31}. [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
TimeUnitFormat.java | 42 * // only SECOND, MINUTE, HOUR, DAY, WEEK, MONTH, and YEAR are supported 401 } else if (timeUnitName.equals("month")) { 402 timeUnit = TimeUnit.MONTH; 554 } else if (timeUnit == TimeUnit.MONTH) {
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
MeasureUnitTest.java | 125 {"MONTH", "53"}, 229 TIME_CODES.add("month"); 329 MeasureUnit.MONTH, 374 MeasureUnit.MONTH, 502 MeasureUnit.MONTH, 634 MeasureUnit.MONTH, 775 MeasureUnit.MONTH, [all...] |
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/calendar/ |
CalendarCalc.java | 94 new RollAddField(Calendar.MONTH, "Month" ), 95 new RollAddField(Calendar.WEEK_OF_MONTH, "Week of Month" ), 97 new RollAddField(Calendar.DAY_OF_MONTH, "Day of Month" ), 99 new RollAddField(Calendar.DAY_OF_WEEK_IN_MONTH, "Day of Week in Month" ), 239 if (kRollAddFields[i].field == Calendar.MONTH) {
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
TimeUnitFormat.java | 41 * // only SECOND, MINUTE, HOUR, DAY, WEEK, MONTH, and YEAR are supported 399 } else if (timeUnitName.equals("month")) { 400 timeUnit = TimeUnit.MONTH; 552 } else if (timeUnit == TimeUnit.MONTH) {
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
MeasureUnitTest.java | 124 {"MONTH", "53"}, 228 TIME_CODES.add("month"); 328 MeasureUnit.MONTH, 373 MeasureUnit.MONTH, 501 MeasureUnit.MONTH, 633 MeasureUnit.MONTH, 774 MeasureUnit.MONTH, [all...] |
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/constructor/ |
SafeConstructor.java | 326 calendar.set(Calendar.MONTH, Integer.parseInt(month_s) - 1); // x 362 calendar.set(Calendar.MONTH, Integer.parseInt(month_s) - 1);
|
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/representer/ |
SafeRepresenter.java | 335 int months = calendar.get(Calendar.MONTH) + 1; // 0..12 386 calendar.get(Calendar.YEAR), calendar.get(Calendar.MONTH),
|
/frameworks/base/core/java/android/text/format/ |
Time.java | 97 * Day of month [1-31] 102 * Month [0-11] 104 public int month; field in class:Time 149 public static final int MONTH = 5; 269 int n = DAYS_PER_MONTH[this.month]; 277 case MONTH: 310 this.month = 0; 438 // month 442 month = n; 444 // day of month [all...] |
/libcore/luni/src/main/java/libcore/util/ |
ZoneInfo.java | 377 public int getOffset(int era, int year, int month, int day, int dayOfWeek, int millis) { 395 calc += mlen[month] * MILLISECONDS_PER_DAY; 709 private int month; field in class:ZoneInfo.WallTime [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
DisplayNameTest.java | 59 cal.set(Calendar.MONTH, Calendar.JULY);
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
DisplayNameTest.java | 58 cal.set(Calendar.MONTH, Calendar.JULY);
|
/external/jsilver/src/org/clearsilver/jni/ |
JniHdf.java | 239 Integer.toString(cal.get(Calendar.MONTH)+1));
|
/external/v8/src/ |
dateparser.h | 20 // [1]: month (0 = Jan, 1 = Feb, ...) 32 YEAR, MONTH, DAY, HOUR, MINUTE, SECOND, MILLISECOND, UTC_OFFSET, OUTPUT_SIZE 351 // If set, ensures that data is always parsed in year-month-date order.
|
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/ |
DayPickerView.java | 50 // Affects when the month selection will change while scrolling up 83 // which month should be displayed/highlighted [0-11] 165 * in range it will move the list so that the first of the month containing 187 * MonthAdapter.MONTHS_IN_YEAR + day.month; 220 // and if so scroll to the month that contains it 250 * Updates the title and selected month if the view has moved to a new 251 * month. 268 * Sets the month displayed at the top of this view based on time. Override 272 mCurrentMonthDisplayed = date.month; 442 cal.set(day.year, day.month, day.day) 475 int month = firstVisiblePosition % 12; local [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
Utils.java | 272 c.get(Calendar.MONTH) + 1,
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/duration/ |
LanguageTestFmwk.java | 44 TimeUnit.YEAR, TimeUnit.MONTH, TimeUnit.WEEK, TimeUnit.DAY, TimeUnit.HOUR, 340 Period p = Period.at(1, MONTH); 381 p = p.omit(MONTH).omit(WEEK).omit(DAY).and(1, HOUR);
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/duration/ |
LanguageTestFmwk.java | 43 TimeUnit.YEAR, TimeUnit.MONTH, TimeUnit.WEEK, TimeUnit.DAY, TimeUnit.HOUR, 339 Period p = Period.at(1, MONTH); 380 p = p.omit(MONTH).omit(WEEK).omit(DAY).and(1, HOUR);
|