Home | History | Annotate | Download | only in utility

Lines Matching defs:week

149     // Bits used in EAS recurrences for days of the week
240 // MSFT day of week starts w/ Sunday = 0; RRule starts w/ Sunday = 1
243 setWord(bytes, offset + MSFT_SYSTEMTIME_DAY, rrule.week < 0 ? 5 : rrule.week);
257 // MSFT day of week starts w/ Sunday = 0; TimeZone starts w/ Sunday = 1
287 // MSFT day of week starts w/ Sunday = 0; TimeZone starts w/ Sunday = 1
395 int week;
411 * Create an RRULE based on month, day of week, and week #
413 * @param _dayOfWeek the day of the week (1 = SU, 7 = SA)
414 * @param _week the week in the month (1-5 or -1 for last)
420 week = _week;
426 return "FREQ=YEARLY;BYMONTH=" + month + ";BYDAY=" + week +
437 * the week in a month (e.g. 2nd Tuesday or last Friday). Indeed, these are the only kinds of
450 int week = calendar.get(Calendar.DAY_OF_WEEK_IN_MONTH);
461 // Ok, it seems to be the same day of the week
467 if (week != thisWeek) {
468 if (week < 0 || week == maxWeek) {
471 // We'll use -1 (i.e. last) week
472 week = -1;
492 // sDayTokens is 0 based (SU = 0); Calendar days of week are 1 based (SU = 1)
495 return new RRule(month + 1, dayOfWeek, week);
705 // We need both rules and they have to be DAY/WEEK type
706 // Write month, day of week, week, hour, minute
1043 // 5 = last week -> -1
1152 // -1 is the only legal case (last week) Use "5" for EAS
1167 // -1 is the only legal case (last week) Use "5" for EAS
1204 // Requires a day of week (whereas RRULE does not)
1209 // Find week number (1-4 and 5 for last)
1285 * @param dow day of the week
1287 * @param wom week of the month
1316 // week 5 and dow = weekdays -> last weekday (need BYSETPOS)