Home | History | Annotate | Download | only in i18n

Lines Matching refs:day

42 // and day-of-week-on-or-before-that-date mode (DOW_LE_DOM_MODE).
275 * day of week in the month (e.g., (2, WEDNESDAY) is the second Wednesday
278 * the day of week in the month counting backward from the end of the month.
281 * specifies the day of the month, regardless of what day of the week it is.
282 * (e.g., (10, 0) is the tenth day of the month)
284 * specifies the day of the month counting backward from the end of the
285 * month, regardless of what day of the week it is (e.g., (-2, 0) is the
286 * next-to-last day of the month).
288 * first specified day of the week on or after the specfied day of the month.
292 * last specified day of the week on or before the specified day of the month.
298 * day-of-week-in-month. Please see the member description for an example.
299 * @param dayOfWeek the daylight savings starting day-of-week. Please see
350 * day-of-week-in-month. See setStartRule() for a complete explanation.
351 * @param dayOfWeek the daylight savings ending day-of-week. See setStartRule()
392 SimpleTimeZone::getOffset(uint8_t era, int32_t year, int32_t month, int32_t day,
407 return getOffset(era, year, month, day, dayOfWeek, millis, Grego::monthLength(year, month), status);
411 SimpleTimeZone::getOffset(uint8_t era, int32_t year, int32_t month, int32_t day,
431 return getOffset(era, year, month, day, dayOfWeek, millis,
438 SimpleTimeZone::getOffset(uint8_t era, int32_t year, int32_t month, int32_t day,
448 || day < 1
449 || day > monthLength
475 (int8_t)day, (int8_t)dayOfWeek, millis,
489 (int8_t)day, (int8_t)dayOfWeek, millis,
516 double day = uprv_floor(date / U_MILLIS_PER_DAY);
517 int32_t millis = (int32_t) (date - day * U_MILLIS_PER_DAY);
519 Grego::dayToFields(day, year, month, dom, dow);
546 day = uprv_floor(date / U_MILLIS_PER_DAY);
547 millis = (int32_t) (date - day * U_MILLIS_PER_DAY);
548 Grego::dayToFields(day, year, month, dom, dow);
604 // calculate the actual day of month for the rule
614 // if the mode is day-of-month, the day of month is given
619 // if the mode is day-of-week-in-month, calculate the day-of-month from it
621 // In this case ruleDay is the day-of-week-in-month (this code is using
622 // the dayOfWeek and dayOfMonth parameters to figure out the day-of-week
623 // of the first day of the month, so it's trusting that they're really
630 // the same calculation figuring backward from the last day of the month.
635 // the day of week of the first of the month)
654 // now that we have a real day-in-month for the rule, we can compare days...
791 // startDay The day of the month, or for DOW_IN_MONTH mode, a
794 // startDayOfWeek The day of the week. Ignored for DAY_OF_MONTH.
826 * endDayOfMonth. Upon entry, the day of week variables may be zero or
827 * negative, in order to indicate special modes. The day of month
829 * set, and the day of week and day of month variables will be positive.
849 * day -5..5 1..31 1..31 -1..-31 0
859 * entire day. Although this is equivalent to time 0 of the following day,