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
40 // Use only for decodeStartRule() and decodeEndRule() where the year is not
251 * Sets the daylight savings starting year, that is, the year this time zone began
253 * not to observe daylight savings time prior to that year; SimpleTimeZone doesn't
255 * @param year the daylight savings starting year.
258 SimpleTimeZone::setStartYear(int32_t year)
260 startYear = year;
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,
428 // We ignore monthLength because it can be derived from year and month.
431 return getOffset(era, year, month, day, dayOfWeek, millis,
432 Grego::monthLength(year, month),
433 Grego::previousMonthLength(year, month),
438 SimpleTimeZone::getOffset(uint8_t era, int32_t year, int32_t month, int32_t day,
465 if(!useDaylight || year < startYear || era != GregorianCalendar::AD)
498 // end rule within the calendar year, and vice versa for the southern
515 int32_t year, month, dom, dow;
519 Grego::dayToFields(day, year, month, dom, dow);
521 savingsDST = getOffset(GregorianCalendar::AD, year, month, dom,
523 Grego::monthLength(year, month),
548 Grego::dayToFields(day, year, month, dom, dow);
549 savingsDST = getOffset(GregorianCalendar::AD, year, month, dom,
551 Grego::monthLength(year, month),
559 * Compare a given date in the year to a rule. Return 1, 0, or -1, depending
607 // Adjust the ruleDay to the monthLen, for non-leap year February 29 rule days.