Home
last modified time | relevance | path

Searched refs:ldate (Results 1 – 5 of 5) sorted by relevance

/libcore/ojluni/src/main/java/sun/util/calendar/
DLocalGregorianCalendar.java209 Date ldate = (Date) super.getCalendarDate(millis, date); in getCalendarDate() local
210 return adjustYear(ldate, millis, ldate.getZoneOffset()); in getCalendarDate()
213 private Date adjustYear(Date ldate, long millis, int zoneOffset) { in adjustYear() argument
222 ldate.setLocalEra(era); in adjustYear()
223 int y = ldate.getNormalizedYear() - era.getSinceDate().getYear() + 1; in adjustYear()
224 ldate.setLocalYear(y); in adjustYear()
229 ldate.setLocalEra(null); in adjustYear()
230 ldate.setLocalYear(ldate.getNormalizedYear()); in adjustYear()
232 ldate.setNormalized(true); in adjustYear()
233 return ldate; in adjustYear()
[all …]
/libcore/ojluni/src/main/java/java/util/
DDate.java627 … BaseCalendar.Date ldate = (BaseCalendar.Date) cal.newCalendarDate(TimeZone.getDefaultRef()); in parse() local
628 ldate.setDate(year, mon + 1, mday); in parse()
629 ldate.setTimeOfDay(hour, min, sec, 0); in parse()
630 return cal.getTime(ldate); in parse()
DJapaneseImperialCalendar.java1305 LocalGregorianCalendar.Date ldate in getActualMaximum()
1307 jcal.getCalendarDateFromFixedDate(ldate, transition - 1); in getActualMaximum()
1308 value = ldate.getMonth() - 1; in getActualMaximum()
/libcore/ojluni/annotations/hiddenapi/sun/util/calendar/
DLocalGregorianCalendar.java63 sun.util.calendar.LocalGregorianCalendar.Date ldate, long millis, int zoneOffset) { in adjustYear() argument
/libcore/ojluni/src/test/java/time/test/java/time/chrono/
DTestUmmAlQuraChronology.java618 public void test_compareDates(HijrahDate hdate, LocalDate ldate, int result1, int result2) { in test_compareDates() argument
619 assertEquals(ldate.compareTo(hdate), result1); in test_compareDates()
620 assertEquals(hdate.compareTo(ldate), result2); in test_compareDates()