/libcore/luni/src/main/java/java/util/ |
GregorianCalendar.java | 64 * Values calculated for the {@code WEEK_OF_YEAR} field range from 1 to 134 * System.out.println("WEEK_OF_YEAR: " + calendar.get(Calendar.WEEK_OF_YEAR)); 159 * System.out.println("WEEK_OF_YEAR: " + calendar.get(Calendar.WEEK_OF_YEAR)); 432 case WEEK_OF_YEAR: 574 fields[WEEK_OF_YEAR] = 7 - mod7(daysFromStart 579 fields[WEEK_OF_YEAR] = 7 - mod7(daysFromStart + (leapYear ? 2 : 1)) >= getMinimalDaysInFirstWeek() ? 1 582 fields[WEEK_OF_YEAR] = week; 604 fields[WEEK_OF_YEAR] = cachedFields[6] [all...] |
Calendar.java | 83 * {@code WEEK_OF_YEAR} fields, {@code Calendar} must determine 121 * DAY_OF_WEEK + WEEK_OF_YEAR</pre> 503 * define the value of {@code WEEK_OF_YEAR} for days before the first 509 public static final int WEEK_OF_YEAR = 3; 571 * {@code WEEK_OF_YEAR}, this field's value does <em>not</em> 694 "WEEK_OF_YEAR", "WEEK_OF_MONTH", "DAY_OF_MONTH", "DAY_OF_YEAR", [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
CalendarTest.java | 104 cal.set(Calendar.WEEK_OF_YEAR, 11); 111 cal.set(Calendar.WEEK_OF_YEAR, 11); 117 cal.get(Calendar.WEEK_OF_YEAR); // Force fields to compute 118 cal.set(Calendar.WEEK_OF_YEAR, 11); 122 // WEEK_OF_YEAR has priority over MONTH/DATE 126 cal.set(Calendar.WEEK_OF_YEAR, 11); 133 // WEEK_OF_YEAR has priority over MONTH/DATE 136 cal.set(Calendar.WEEK_OF_YEAR, 11); 165 cal.set(Calendar.WEEK_OF_YEAR, 12); 174 // DAY_OF_WEEK_IN_MONTH has priority over WEEK_OF_YEAR [all...] |
GregorianCalendarTest.java | 251 gc1.add(Calendar.WEEK_OF_YEAR, 1); 252 assertEquals("Wrong time after WEEK_OF_YEAR change", 16, gc1 442 assertEquals(gc.getActualMaximum(Calendar.WEEK_OF_YEAR), gc 443 .getLeastMaximum(Calendar.WEEK_OF_YEAR)); 576 cal.roll(Calendar.WEEK_OF_YEAR, true); 586 cal.roll(Calendar.WEEK_OF_YEAR, true); 593 cal.roll(Calendar.WEEK_OF_YEAR, true); 600 cal.roll(Calendar.WEEK_OF_YEAR, false); 607 cal.roll(Calendar.WEEK_OF_YEAR, false); 614 cal.roll(Calendar.WEEK_OF_YEAR, false) [all...] |
/libcore/luni/src/test/java/tests/api/java/util/ |
CalendarTest.java | 104 cal.set(Calendar.WEEK_OF_YEAR, 11); 111 cal.set(Calendar.WEEK_OF_YEAR, 11); 117 cal.get(Calendar.WEEK_OF_YEAR); // Force fields to compute 118 cal.set(Calendar.WEEK_OF_YEAR, 11); 122 // WEEK_OF_YEAR has priority over MONTH/DATE 126 cal.set(Calendar.WEEK_OF_YEAR, 11); 133 // WEEK_OF_YEAR has priority over MONTH/DATE 136 cal.set(Calendar.WEEK_OF_YEAR, 11); 165 cal.set(Calendar.WEEK_OF_YEAR, 12); 174 // DAY_OF_WEEK_IN_MONTH has priority over WEEK_OF_YEAR [all...] |
/external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/ |
Support_SimpleDateFormat.java | 89 t_FormatWithField(13, format, date, null, Field.WEEK_OF_YEAR, 137, 139); 121 t_FormatWithField(35, format, date, null, Field.WEEK_OF_YEAR, 0, 0); 180 v.add(new FieldContainer(0, 2, Field.WEEK_OF_YEAR)); 251 v.add(new FieldContainer(128, 130, Field.WEEK_OF_YEAR)); 252 v.add(new FieldContainer(131, 134, Field.WEEK_OF_YEAR));
|
/libcore/luni/src/main/java/java/text/ |
DateFormat.java | 246 * {@link Calendar#WEEK_OF_YEAR} field. 807 public static final Field WEEK_OF_YEAR = new Field("week of year", 808 Calendar.WEEK_OF_YEAR);
|
SimpleDateFormat.java | 664 dateFormatField = Field.WEEK_OF_YEAR; 665 field = Calendar.WEEK_OF_YEAR; [all...] |
/external/icu4c/i18n/unicode/ |
calendar.h | 113 * DAY_OF_WEEK + WEEK_OF_YEAR 185 WEEK_OF_YEAR, // Example: 1..53 [all...] |
/frameworks/base/core/java/android/widget/ |
CalendarView.java | [all...] |
/prebuilt/sdk/10/ |
android.jar | |
/prebuilt/sdk/11/ |
android.jar | |
/prebuilt/sdk/13/ |
android.jar | |
/prebuilt/sdk/5/ |
android.jar | |
/prebuilt/sdk/7/ |
android.jar | |
/prebuilt/sdk/8/ |
android.jar | |
/prebuilt/sdk/9/ |
android.jar | |
/prebuilt/sdk/6/ |
android.jar | |