Home | History | Annotate | Download | only in i18n

Lines Matching full:year

18  *   09/17/98    stephen     Fixed getOffset() for last hour of year and DST
41 // Use only for decodeStartRule() and decodeEndRule() where the year is not
252 * Sets the daylight savings starting year, that is, the year this time zone began
254 * not to observe daylight savings time prior to that year; SimpleTimeZone doesn't
256 * @param year the daylight savings starting year.
259 SimpleTimeZone::setStartYear(int32_t year)
261 startYear = year;
393 SimpleTimeZone::getOffset(uint8_t era, int32_t year, int32_t month, int32_t day,
408 return getOffset(era, year, month, day, dayOfWeek, millis, Grego::monthLength(year, month), status);
412 SimpleTimeZone::getOffset(uint8_t era, int32_t year, int32_t month, int32_t day,
429 // We ignore monthLength because it can be derived from year and month.
432 return getOffset(era, year, month, day, dayOfWeek, millis,
433 Grego::monthLength(year, month),
434 Grego::previousMonthLength(year, month),
439 SimpleTimeZone::getOffset(uint8_t era, int32_t year, int32_t month, int32_t day,
466 if(!useDaylight || year < startYear || era != GregorianCalendar::AD)
499 // end rule within the calendar year, and vice versa for the southern
516 int32_t year, month, dom, dow;
520 Grego::dayToFields(day, year, month, dom, dow);
522 savingsDST = getOffset(GregorianCalendar::AD, year, month, dom,
524 Grego::monthLength(year, month),
549 Grego::dayToFields(day, year, month, dom, dow);
550 savingsDST = getOffset(GregorianCalendar::AD, year, month, dom,
552 Grego::monthLength(year, month),
560 * Compare a given date in the year to a rule. Return 1, 0, or -1, depending
608 // Adjust the ruleDay to the monthLen, for non-leap year February 29 rule days.