HomeSort by relevance Sort by last modified time
    Searched refs:WEEK_OF_YEAR (Results 1 - 22 of 22) sorted by null

  /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));
422 case WEEK_OF_YEAR:
553 fields[WEEK_OF_YEAR] = 7 - mod7(daysFromStart
558 fields[WEEK_OF_YEAR] = 7 - mod7(daysFromStart + (leapYear ? 2 : 1)) >= getMinimalDaysInFirstWeek() ? 1
561 fields[WEEK_OF_YEAR] = week;
600 if (isSet[WEEK_OF_YEAR]
    [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 183 * {@link Calendar#WEEK_OF_YEAR} field.
736 public static final Field WEEK_OF_YEAR = new Field("week of year",
737 Calendar.WEEK_OF_YEAR);
SimpleDateFormat.java 655 dateFormatField = Field.WEEK_OF_YEAR;
656 field = Calendar.WEEK_OF_YEAR;
    [all...]
  /external/icu4c/i18n/unicode/
calendar.h 115 * DAY_OF_WEEK + WEEK_OF_YEAR
220 WEEK_OF_YEAR, // Example: 1..53
    [all...]
  /frameworks/base/core/java/android/widget/
CalendarView.java     [all...]
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
com.ibm.icu_4.2.1.v20100412.jar 
  /prebuilts/tools/common/m2/internal/com/ibm/icu/icu4j/2.6.1/
icu4j-2.6.1.jar 
  /prebuilts/sdk/10/
android.jar 
  /prebuilts/sdk/11/
android.jar 
  /prebuilts/sdk/13/
android.jar 
  /prebuilts/sdk/16/
android.jar 
  /prebuilts/sdk/5/
android.jar 
  /prebuilts/sdk/7/
android.jar 
  /prebuilts/sdk/8/
android.jar 
  /prebuilts/sdk/9/
android.jar 
  /prebuilts/sdk/current/
android.jar 
  /prebuilts/sdk/6/
android.jar 

Completed in 504 milliseconds