Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/sun/util/calendar/
DBaseCalendar.java184 protected void setCache(int year, long jan1, int len) { in setCache() argument
186 cachedFixedDateJan1 = jan1; in setCache()
187 cachedFixedDateNextJan1 = jan1 + len; in setCache()
381 long jan1 = FIXED_DATES[n]; in getFixedDate() local
383 cache.setCache(year, jan1, isLeapYear(year) ? 366 : 365); in getFixedDate()
385 return isJan1 ? jan1 : jan1 + getDayOfYear(year, month, dayOfMonth) - 1; in getFixedDate()
426 long jan1; in getCalendarDateFromFixedDate() local
430 jan1 = gdate.getCachedJan1(); in getCalendarDateFromFixedDate()
437 jan1 = getFixedDate(year, JANUARY, 1, null); in getCalendarDateFromFixedDate()
440 gdate.setCache (year, jan1, isLeap ? 366 : 365); in getCalendarDateFromFixedDate()
[all …]
/libcore/ojluni/src/main/java/java/util/
DJapaneseImperialCalendar.java1237 long jan1 = jcal.getFixedDate(d);
1239 int woy = getWeekNumber(jan1, fd);
1241 if ((day1 < jan1) ||
1242 (day1 == jan1 &&
1333 long jan1 = getFixedDateJan1(d, fd);
1334 yield (int) (fd - jan1) + 1;
1352 long jan1 = getFixedDateJan1(jd, fd);
1353 yield getWeekNumber(jan1, fd);
1362 long jan1 = jcal.getFixedDate(d);
1370 yield getWeekNumber(jan1, nextJan1st);
DGregorianCalendar.java1439 long jan1 = fd - internalGet(DAY_OF_YEAR) + 1; in roll() local
1440 int value = getRolledValue((int)(fd - jan1) + 1, amount, min, max); in roll()
1441 BaseCalendar.Date d = getCalendarDate(jan1 + value - 1); in roll()
1778 long jan1; in getActualMaximum() local
1781 jan1 = cocal.getFixedDate(normalizedYear, 1, 1, null); in getActualMaximum()
1783 jan1 = cal.getFixedDate(normalizedYear, 1, 1, null); in getActualMaximum()
1785 jan1 = gregorianCutoverDate; in getActualMaximum()
1792 assert jan1 <= cal.getFixedDate(date.getNormalizedYear(), date.getMonth(), in getActualMaximum() local
1796 value = (int)(nextJan1 - jan1); in getActualMaximum()
/libcore/ojluni/annotations/hiddenapi/sun/util/calendar/
DBaseCalendar.java210 protected void setCache(int year, long jan1, int len) { in setCache() argument