Home
last modified time | relevance | path

Searched refs:jan1 (Results 1 – 2 of 2) sorted by relevance

/libcore/ojluni/src/main/java/sun/util/calendar/
DBaseCalendar.java185 protected void setCache(int year, long jan1, int len) { in setCache() argument
187 cachedFixedDateJan1 = jan1; in setCache()
188 cachedFixedDateNextJan1 = jan1 + len; in setCache()
378 long jan1 = FIXED_DATES[n]; in getFixedDate() local
380 cache.setCache(year, jan1, isLeapYear(year) ? 366 : 365); in getFixedDate()
382 return isJan1 ? jan1 : jan1 + getDayOfYear(year, month, dayOfMonth) - 1; in getFixedDate()
423 long jan1; in getCalendarDateFromFixedDate() local
427 jan1 = gdate.getCachedJan1(); in getCalendarDateFromFixedDate()
434 jan1 = getFixedDate(year, JANUARY, 1, null); in getCalendarDateFromFixedDate()
437 gdate.setCache (year, jan1, isLeap ? 366 : 365); in getCalendarDateFromFixedDate()
[all …]
/libcore/ojluni/src/main/java/java/util/
DGregorianCalendar.java1386 long jan1 = fd - internalGet(DAY_OF_YEAR) + 1; in roll() local
1387 int value = getRolledValue((int)(fd - jan1) + 1, amount, min, max); in roll()
1388 BaseCalendar.Date d = getCalendarDate(jan1 + value - 1); in roll()
1740 long jan1; in getActualMaximum() local
1743 jan1 = cocal.getFixedDate(normalizedYear, 1, 1, null); in getActualMaximum()
1745 jan1 = cal.getFixedDate(normalizedYear, 1, 1, null); in getActualMaximum()
1747 jan1 = gregorianCutoverDate; in getActualMaximum()
1754 assert jan1 <= cal.getFixedDate(date.getNormalizedYear(), date.getMonth(), in getActualMaximum() local
1758 value = (int)(nextJan1 - jan1); in getActualMaximum()