Home
last modified time | relevance | path

Searched refs:jan1 (Results 1 – 3 of 3) 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/
DJapaneseImperialCalendar.java1219 long jan1 = jcal.getFixedDate(d); in getActualMinimum() local
1221 int woy = getWeekNumber(jan1, fd); in getActualMinimum()
1223 if ((day1 < jan1) || in getActualMinimum()
1224 (day1 == jan1 && in getActualMinimum()
1327 long jan1 = getFixedDateJan1(d, fd); in getActualMaximum()
1328 value = (int)(fd - jan1) + 1; in getActualMaximum()
1351 long jan1 = getFixedDateJan1(jd, fd); in getActualMaximum()
1352 value = getWeekNumber(jan1, fd); in getActualMaximum()
1361 long jan1 = jcal.getFixedDate(d); in getActualMaximum()
1369 value = getWeekNumber(jan1, nextJan1st); in getActualMaximum()
DGregorianCalendar.java1442 long jan1 = fd - internalGet(DAY_OF_YEAR) + 1; in roll() local
1443 int value = getRolledValue((int)(fd - jan1) + 1, amount, min, max); in roll()
1444 BaseCalendar.Date d = getCalendarDate(jan1 + value - 1); in roll()
1802 long jan1; in getActualMaximum() local
1805 jan1 = cocal.getFixedDate(normalizedYear, 1, 1, null); in getActualMaximum()
1807 jan1 = cal.getFixedDate(normalizedYear, 1, 1, null); in getActualMaximum()
1809 jan1 = gregorianCutoverDate; in getActualMaximum()
1816 assert jan1 <= cal.getFixedDate(date.getNormalizedYear(), date.getMonth(), in getActualMaximum() local
1820 value = (int)(nextJan1 - jan1); in getActualMaximum()