HomeSort by relevance Sort by last modified time
    Searched refs:dayOfWeek (Results 1 - 25 of 136) sorted by null

1 2 3 4 5 6

  /art/test/048-reflect-v8/src/
SingleUser.java 18 @Calendar(dayOfWeek="single", hour=23)
User.java 23 * @Calendar(dayOfWeek="Fri", hour=23)
27 @Calendar(dayOfWeek="Fri", hour=23)
AnnotationTestFixture.java 19 @Calendar(dayOfWeek="single", hour=23)
25 @Calendar(dayOfWeek="Fri", hour=23)
Calendar.java 29 String dayOfWeek() default "unspecified_week";
  /external/icu/android_icu4j/src/main/java/android/icu/util/
SimpleHoliday.java 90 * <code>dayOfWeek</code>.
92 * @param dayOfWeek The day of the week on which this holiday occurs.
94 * <li>dayOfWeek == 0 - use dayOfMonth only
95 * <li>dayOfWeek &lt; 0 - use last -dayOfWeek before or on dayOfMonth
96 * <li>dayOfWeek &gt; 0 - use first dayOfWeek after or on dayOfMonth
107 public SimpleHoliday(int month, int dayOfMonth, int dayOfWeek, String name)
110 dayOfWeek > 0 ? dayOfWeek : - dayOfWeek
    [all...]
DateTimeRule.java 68 private final int dayOfWeek;
95 this.dayOfWeek = 0;
108 * @param dayOfWeek The day of week, for example, <code>Calendar.SUNDAY</code>.
113 public DateTimeRule(int month, int weekInMonth, int dayOfWeek,
118 this.dayOfWeek = dayOfWeek;
135 * @param dayOfWeek The day of week, for example, <code>Calendar.SUNDAY</code>.
141 public DateTimeRule(int month, int dayOfMonth, int dayOfWeek, boolean after,
146 this.dayOfWeek = dayOfWeek;
    [all...]
SimpleDateRule.java 34 this.dayOfWeek = 0;
42 this.dayOfWeek = 0;
51 * @param dayOfWeek The day of the week on which this rule occurs.
52 * @param after If true, this rule selects the first dayOfWeek
54 * the first dayOfWeek on or before dayOfMonth.
57 public SimpleDateRule(int month, int dayOfMonth, int dayOfWeek, boolean after)
61 this.dayOfWeek = after ? dayOfWeek : -dayOfWeek;
183 if (dayOfWeek != 0)
    [all...]
SimpleTimeZone.java 24 * <code>dayOfWeekInMonth = -1</code> along with <code>dayOfWeek = Calendar.SUNDAY</code>
124 * @throws IllegalArgumentException the month, day, dayOfWeek, or time
170 * @throws IllegalArgumentException the month, day, dayOfWeek, or time
215 * @throws IllegalArgumentException the month, day, dayOfWeek, or time
295 * @param dayOfWeek The daylight savings starting day-of-week.
302 * dayOfWeek, or time parameters are out of range
304 public void setStartRule(int month, int dayOfWeekInMonth, int dayOfWeek,
310 getSTZInfo().setStart(month, dayOfWeekInMonth, dayOfWeek, time, -1, false);
311 setStartRule(month, dayOfWeekInMonth, dayOfWeek, time, WALL_TIME);
319 * The dayOfWeekInMonth and dayOfWeek parameters together specify how to calculat
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
SimpleHoliday.java 92 * <code>dayOfWeek</code>.
94 * @param dayOfWeek The day of the week on which this holiday occurs.
96 * <li>dayOfWeek == 0 - use dayOfMonth only
97 * <li>dayOfWeek &lt; 0 - use last -dayOfWeek before or on dayOfMonth
98 * <li>dayOfWeek &gt; 0 - use first dayOfWeek after or on dayOfMonth
110 public SimpleHoliday(int month, int dayOfMonth, int dayOfWeek, String name)
113 dayOfWeek > 0 ? dayOfWeek : - dayOfWeek
    [all...]
DateTimeRule.java 81 private final int dayOfWeek;
110 this.dayOfWeek = 0;
123 * @param dayOfWeek The day of week, for example, <code>Calendar.SUNDAY</code>.
130 public DateTimeRule(int month, int weekInMonth, int dayOfWeek,
135 this.dayOfWeek = dayOfWeek;
152 * @param dayOfWeek The day of week, for example, <code>Calendar.SUNDAY</code>.
160 public DateTimeRule(int month, int dayOfMonth, int dayOfWeek, boolean after,
165 this.dayOfWeek = dayOfWeek;
    [all...]
SimpleDateRule.java 34 this.dayOfWeek = 0;
42 this.dayOfWeek = 0;
51 * @param dayOfWeek The day of the week on which this rule occurs.
52 * @param after If true, this rule selects the first dayOfWeek
54 * the first dayOfWeek on or before dayOfMonth.
58 public SimpleDateRule(int month, int dayOfMonth, int dayOfWeek, boolean after)
62 this.dayOfWeek = after ? dayOfWeek : -dayOfWeek;
188 if (dayOfWeek != 0)
    [all...]
SimpleTimeZone.java 23 * <code>dayOfWeekInMonth = -1</code> along with <code>dayOfWeek = Calendar.SUNDAY</code>
127 * @throws IllegalArgumentException the month, day, dayOfWeek, or time
174 * @throws IllegalArgumentException the month, day, dayOfWeek, or time
220 * @throws IllegalArgumentException the month, day, dayOfWeek, or time
306 * @param dayOfWeek The daylight savings starting day-of-week.
313 * dayOfWeek, or time parameters are out of range
316 public void setStartRule(int month, int dayOfWeekInMonth, int dayOfWeek,
322 getSTZInfo().setStart(month, dayOfWeekInMonth, dayOfWeek, time, -1, false);
323 setStartRule(month, dayOfWeekInMonth, dayOfWeek, time, WALL_TIME);
331 * The dayOfWeekInMonth and dayOfWeek parameters together specify how to calculat
    [all...]
  /libcore/ojluni/src/main/java/java/text/
CalendarBuilder.java 128 int dayOfWeek = isSet(DAY_OF_WEEK) ?
130 if (!isValidDayOfWeek(dayOfWeek) && cal.isLenient()) {
131 if (dayOfWeek >= 8) {
132 dayOfWeek--;
133 weekOfYear += dayOfWeek / 7;
134 dayOfWeek = (dayOfWeek % 7) + 1;
136 while (dayOfWeek <= 0) {
137 dayOfWeek += 7;
141 dayOfWeek = toCalendarDayOfWeek(dayOfWeek)
    [all...]
  /external/icu/android_icu4j/src/main/java/android/icu/impl/
Grego.java 109 public static int dayOfWeek(long day) {
112 int dayOfWeek = (int)remainder[0];
113 dayOfWeek = (dayOfWeek == 0) ? 7 : dayOfWeek;
114 return dayOfWeek;
147 int dayOfWeek = (int)((day + 2) % 7); // day 0 is Monday(2)
148 if (dayOfWeek < 1 /* Sunday */) {
149 dayOfWeek += 7;
156 fields[3] = dayOfWeek;
    [all...]
TimeZoneAdapter.java 84 public int getOffset(int era, int year, int month, int day, int dayOfWeek,
86 return zone.getOffset(era, year, month, day, dayOfWeek, millis);
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
Grego.java 107 public static int dayOfWeek(long day) {
110 int dayOfWeek = (int)remainder[0];
111 dayOfWeek = (dayOfWeek == 0) ? 7 : dayOfWeek;
112 return dayOfWeek;
145 int dayOfWeek = (int)((day + 2) % 7); // day 0 is Monday(2)
146 if (dayOfWeek < 1 /* Sunday */) {
147 dayOfWeek += 7;
154 fields[3] = dayOfWeek;
    [all...]
TimeZoneAdapter.java 83 public int getOffset(int era, int year, int month, int day, int dayOfWeek,
85 return zone.getOffset(era, year, month, day, dayOfWeek, millis);
  /external/icu/icu4c/source/i18n/unicode/
simpletz.h 54 * along with <code>dayOfWeek = UCAL_SUNDAY</code> to specify the rule.
274 * The dayOfWeekInMonth and dayOfWeek parameters together specify how to calculate
278 * <li>If both dayOfWeekInMonth and dayOfWeek are positive, they specify the
281 * <li>If dayOfWeek is positive and dayOfWeekInMonth is negative, they specify
284 * <li>If dayOfWeek is zero and dayOfWeekInMonth is positive, dayOfWeekInMonth
287 * <li>If dayOfWeek is zero and dayOfWeekInMonth is negative, dayOfWeekInMonth
291 * <li>If dayOfWeek is negative and dayOfWeekInMonth is positive, they specify the
295 * <li>If dayOfWeek and DayOfWeekInMonth are both negative, they specify the
304 * @param dayOfWeek the daylight savings starting day-of-week. Please see
311 void setStartRule(int32_t month, int32_t dayOfWeekInMonth, int32_t dayOfWeek,
    [all...]
dtrule.h 81 * @param dayOfWeek The day of week, for example, <code>Calendar::SUNDAY</code>.
87 DateTimeRule(int32_t month, int32_t weekInMonth, int32_t dayOfWeek,
98 * @param dayOfWeek The day of week, for example, <code>Calendar::SUNDAY</code>.
105 DateTimeRule(int32_t month, int32_t dayOfMonth, int32_t dayOfWeek, UBool after,
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/
ChineseTestCase.java 28 * @param dayOfWeek the DAY_OF_WEEK field of tested calendar on given
33 boolean isLeapMonth, int dayOfMonth, int dayOfWeek) {
42 set(Calendar.DAY_OF_WEEK, dayOfWeek);
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
ChineseTestCase.java 27 * @param dayOfWeek the DAY_OF_WEEK field of tested calendar on given
32 boolean isLeapMonth, int dayOfMonth, int dayOfWeek) {
41 set(Calendar.DAY_OF_WEEK, dayOfWeek);
  /external/icu/icu4c/source/i18n/
dtrule.cpp 30 int32_t dayOfWeek,
33 : fMonth(month), fDayOfMonth(0), fDayOfWeek(dayOfWeek), fWeekInMonth(weekInMonth), fMillisInDay(millisInDay),
39 int32_t dayOfWeek,
44 fMonth(month), fDayOfMonth(dayOfMonth), fDayOfWeek(dayOfWeek), fWeekInMonth(0), fMillisInDay(millisInDay),
simpletz.cpp 272 * The dayOfWeekInMonth and dayOfWeek parameters together specify how to calculate
275 * <li>If both dayOfWeekInMonth and dayOfWeek are positive, they specify the
278 * <li>If dayOfWeek is positive and dayOfWeekInMonth is negative, they specify
281 * <li>If dayOfWeek is zero and dayOfWeekInMonth is positive, dayOfWeekInMonth
284 * <li>If dayOfWeek is zero and dayOfWeekInMonth is negative, dayOfWeekInMonth
288 * <li>If dayOfWeek is negative and dayOfWeekInMonth is positive, they specify the
292 * <li>If dayOfWeek and DayOfWeekInMonth are both negative, they specify the
300 * @param dayOfWeek the daylight savings starting day-of-week. Please see
307 SimpleTimeZone::setStartRule(int32_t month, int32_t dayOfWeekInMonth, int32_t dayOfWeek,
312 startDayOfWeek = (int8_t)dayOfWeek;
    [all...]
  /external/icu/icu4c/source/test/intltest/
calcasts.h 33 int32_t dayOfWeek;
  /libcore/ojluni/src/main/java/sun/util/calendar/
AbstractCalendar.java 260 public CalendarDate getNthDayOfWeek(int nth, int dayOfWeek, CalendarDate date) {
266 nfd = 7 * nth + getDayOfWeekDateBefore(fd, dayOfWeek);
268 nfd = 7 * nth + getDayOfWeekDateAfter(fd, dayOfWeek);
279 * @param dayOfWeek the day of week
282 static long getDayOfWeekDateBefore(long fixedDate, int dayOfWeek) {
283 return getDayOfWeekDateOnOrBefore(fixedDate - 1, dayOfWeek);
291 * @param dayOfWeek the day of week
294 static long getDayOfWeekDateAfter(long fixedDate, int dayOfWeek) {
295 return getDayOfWeekDateOnOrBefore(fixedDate + 7, dayOfWeek);
303 * @param dayOfWeek the day of wee
    [all...]

Completed in 556 milliseconds

1 2 3 4 5 6