Home
last modified time | relevance | path

Searched refs:dateYearDay (Results 1 – 18 of 18) sorted by relevance

/libcore/ojluni/src/test/java/time/tck/java/time/chrono/
DTCKChronology.java270 ChronoLocalDate date1 = chrono.dateYearDay(HijrahEra.AH, 1434, 178); in test_HijrahChronology_dateYearDay()
272 assertEquals(date1, HijrahChronology.INSTANCE.dateYearDay(HijrahEra.AH, 1434, 178)); in test_HijrahChronology_dateYearDay()
273 assertEquals(date2, HijrahChronology.INSTANCE.dateYearDay(HijrahEra.AH, 1434, 178)); in test_HijrahChronology_dateYearDay()
279 ChronoLocalDate date1 = chrono.dateYearDay(MinguoEra.ROC, 5, 60); in test_MinguoChronology_dateYearDay()
281 assertEquals(date1, MinguoChronology.INSTANCE.dateYearDay(MinguoEra.ROC, 5, 60)); in test_MinguoChronology_dateYearDay()
282 assertEquals(date2, MinguoChronology.INSTANCE.dateYearDay(MinguoEra.ROC, 5, 60)); in test_MinguoChronology_dateYearDay()
288 ChronoLocalDate date1 = chrono.dateYearDay(IsoEra.CE, 5, 60); in test_IsoChronology_dateYearDay()
290 assertEquals(date1, IsoChronology.INSTANCE.dateYearDay(IsoEra.CE, 5, 60)); in test_IsoChronology_dateYearDay()
291 assertEquals(date2, IsoChronology.INSTANCE.dateYearDay(IsoEra.CE, 5, 60)); in test_IsoChronology_dateYearDay()
297 ChronoLocalDate date1 = chrono.dateYearDay(JapaneseEra.HEISEI, 8, 60); in test_JapaneseChronology_dateYearDay()
[all …]
DTCKHijrahChronology.java157 int lengthOfYear = HijrahChronology.INSTANCE.dateYearDay(year, 1).lengthOfYear(); in test_ofYearDayTooLarge()
158 HijrahDate hd = HijrahChronology.INSTANCE.dateYearDay(year, lengthOfYear + 1); in test_ofYearDayTooLarge()
300 final int lastDayInYear = dateYearDay(year, 1).lengthOfYear(); in data_resolve_ymd()
301 final int lastDayInYearP1 = dateYearDay(yearP1, 1).lengthOfYear(); in data_resolve_ymd()
302 final int lastDayInYearM1 = dateYearDay(yearM1, 1).lengthOfYear(); in data_resolve_ymd()
303 final int lastDayInYearM2 = dateYearDay(yearM2, 1).lengthOfYear(); in data_resolve_ymd()
316 {year, 1, -lastDayInYearM1, dateYearDay(yearM2, lastDayInYearM2), false, false}, in data_resolve_ymd()
325 {year, 1, lastDayInYear, dateYearDay(year, lastDayInYear), false, false}, in data_resolve_ymd()
327 … {year, 1, lastDayInYear + lastDayInYearP1, dateYearDay(yearP1, lastDayInYearP1), false, false}, in data_resolve_ymd()
444 final int lastDayInYear = dateYearDay(year, 1).lengthOfYear(); in data_resolve_yd()
[all …]
DCopticChronology.java178 public CopticDate dateYearDay(int prolepticYear, int dayOfYear) { in dateYearDay() method in CopticChronology
DTCKMinguoChronology.java146 {MinguoChronology.INSTANCE.dateYearDay(1916 - YDIFF, 60), LocalDate.of(1916, 2, 29)}, in data_samples()
147 {MinguoChronology.INSTANCE.dateYearDay(1908 - YDIFF, 60), LocalDate.of(1908, 2, 29)}, in data_samples()
148 {MinguoChronology.INSTANCE.dateYearDay(2000 - YDIFF, 60), LocalDate.of(2000, 2, 29)}, in data_samples()
149 {MinguoChronology.INSTANCE.dateYearDay(2400 - YDIFF, 60), LocalDate.of(2400, 2, 29)}, in data_samples()
151 …{MinguoChronology.INSTANCE.dateYearDay(MinguoEra.ROC, 1916 - YDIFF, 60), LocalDate.of(1916, 2, 29)… in data_samples()
152 … {MinguoChronology.INSTANCE.dateYearDay(MinguoEra.BEFORE_ROC, 4, 60), LocalDate.of(1908, 2, 29)}, in data_samples()
153 …{MinguoChronology.INSTANCE.dateYearDay(MinguoEra.ROC, 2000 - YDIFF, 60), LocalDate.of(2000, 2, 29)… in data_samples()
154 …{MinguoChronology.INSTANCE.dateYearDay(MinguoEra.ROC, 2400 - YDIFF, 60), LocalDate.of(2400, 2, 29)… in data_samples()
DTCKThaiBuddhistChronology.java184 {ThaiBuddhistChronology.INSTANCE.dateYearDay(4 + YDIFF, 60), LocalDate.of(4, 2, 29)}, in data_samples()
185 … {ThaiBuddhistChronology.INSTANCE.dateYearDay(400 + YDIFF, 60), LocalDate.of(400, 2, 29)}, in data_samples()
186 … {ThaiBuddhistChronology.INSTANCE.dateYearDay(2000 + YDIFF, 60), LocalDate.of(2000, 2, 29)}, in data_samples()
188 …{ThaiBuddhistChronology.INSTANCE.dateYearDay(ThaiBuddhistEra.BE, 1916 + YDIFF, 60), LocalDate.of(1… in data_samples()
189 …{ThaiBuddhistChronology.INSTANCE.dateYearDay(ThaiBuddhistEra.BEFORE_BE, -1907 - YDIFF, 60), LocalD… in data_samples()
190 …{ThaiBuddhistChronology.INSTANCE.dateYearDay(ThaiBuddhistEra.BE, 2000 + YDIFF, 60), LocalDate.of(2… in data_samples()
191 …{ThaiBuddhistChronology.INSTANCE.dateYearDay(ThaiBuddhistEra.BE, 2400 + YDIFF, 60), LocalDate.of(2… in data_samples()
DTCKJapaneseChronology.java207 JapaneseDate dateByChronoFactory = JapaneseChronology.INSTANCE.dateYearDay(era, yoe, doy); in test_createEyd()
275 JapaneseDate dateByChronoFactory = JapaneseChronology.INSTANCE.dateYearDay(y, doy); in test_createYd()
663 JapaneseDate hd1 = JapaneseChronology.INSTANCE.dateYearDay(era, firstYear, 1); in test_getDayOfYear()
668 JapaneseDate hd = JapaneseChronology.INSTANCE.dateYearDay(era, firstYear, i); in test_getDayOfYear()
677 JapaneseDate hd = JapaneseChronology.INSTANCE.dateYearDay(1990, 1); in test_withDayOfYear()
/libcore/ojluni/src/main/java/java/time/chrono/
DChronology.java342 default ChronoLocalDate dateYearDay(Era era, int yearOfEra, int dayOfYear) { in dateYearDay() method
343 return dateYearDay(prolepticYear(era, yearOfEra), dayOfYear); in dateYearDay()
355 ChronoLocalDate dateYearDay(int prolepticYear, int dayOfYear); in dateYearDay() method
DMinguoChronology.java207 public MinguoDate dateYearDay(Era era, int yearOfEra, int dayOfYear) { in dateYearDay() method in MinguoChronology
208 return dateYearDay(prolepticYear(era, yearOfEra), dayOfYear); in dateYearDay()
221 public MinguoDate dateYearDay(int prolepticYear, int dayOfYear) { in dateYearDay() method in MinguoChronology
DThaiBuddhistChronology.java243 public ThaiBuddhistDate dateYearDay(Era era, int yearOfEra, int dayOfYear) { in dateYearDay() method in ThaiBuddhistChronology
244 return dateYearDay(prolepticYear(era, yearOfEra), dayOfYear); in dateYearDay()
257 public ThaiBuddhistDate dateYearDay(int prolepticYear, int dayOfYear) { in dateYearDay() method in ThaiBuddhistChronology
DAbstractChronology.java529 ChronoLocalDate chronoDate = dateYearDay(year, 1); in resolveYearOfEra()
575 return dateYearDay(y, 1).plus(days, DAYS); in resolveYD()
578 return dateYearDay(y, doy); // smart is same as strict in resolveYD()
622 return dateYearDay(y, 1).plus(weeks, WEEKS).plus(days, DAYS); in resolveYAA()
626 ChronoLocalDate date = dateYearDay(y, 1).plus((aw - 1) * 7 + (ad - 1), DAYS); in resolveYAA()
638 return resolveAligned(dateYearDay(y, 1), 0, weeks, dow); in resolveYAD()
642 …ChronoLocalDate date = dateYearDay(y, 1).plus((aw - 1) * 7, DAYS).with(nextOrSame(DayOfWeek.of(dow… in resolveYAD()
DJapaneseChronology.java259 public JapaneseDate dateYearDay(Era era, int yearOfEra, int dayOfYear) { in dateYearDay() method in JapaneseChronology
277 public JapaneseDate dateYearDay(int prolepticYear, int dayOfYear) { in dateYearDay() method in JapaneseChronology
511 return dateYearDay(y, 1).plus(days, DAYS); in resolveYD()
514 return dateYearDay(era, yoe, doy); // smart is same as strict in resolveYD()
DIsoChronology.java218 public LocalDate dateYearDay(Era era, int yearOfEra, int dayOfYear) { in dateYearDay() method in IsoChronology
219 return dateYearDay(prolepticYear(era, yearOfEra), dayOfYear); in dateYearDay()
233 public LocalDate dateYearDay(int prolepticYear, int dayOfYear) { in dateYearDay() method in IsoChronology
DHijrahChronology.java468 public HijrahDate dateYearDay(Era era, int yearOfEra, int dayOfYear) { in dateYearDay() method in HijrahChronology
469 return dateYearDay(prolepticYear(era, yearOfEra), dayOfYear); in dateYearDay()
483 public HijrahDate dateYearDay(int prolepticYear, int dayOfYear) { in dateYearDay() method in HijrahChronology
/libcore/luni/src/test/java/libcore/java/time/chrono/
DIsoChronologyTest.java56 LocalDate localDate = IsoChronology.INSTANCE.dateYearDay(values[0], values[1]); in test_dateYear()
82 LocalDate localDate = IsoChronology.INSTANCE.dateYearDay(values[0], values[1]); in test_dateYear_invalidValues()
DChronologyTest.java100 public ChronoLocalDate dateYearDay(int prolepticYear, int dayOfYear) { in dateYearDay() method in ChronologyTest.FakeChronology
/libcore/ojluni/src/test/java/time/test/java/time/chrono/
DTestUmmAlQuraChronology.java231 … {HijrahChronology.INSTANCE.dateYearDay(1434, 42), HijrahChronology.INSTANCE.date(1434, 02, 13)}, in data_dateYearDay()
232 … {HijrahChronology.INSTANCE.dateYearDay(1330, 354), HijrahChronology.INSTANCE.date(1330, 12, 29)}, in data_dateYearDay()
233 … {HijrahChronology.INSTANCE.dateYearDay(1600, 1), HijrahChronology.INSTANCE.date(1600, 1, 1)}, in data_dateYearDay()
234 … {HijrahChronology.INSTANCE.dateYearDay(1400, 175), HijrahChronology.INSTANCE.date(1400, 6, 28)}, in data_dateYearDay()
235 … {HijrahChronology.INSTANCE.dateYearDay(1520, 190), HijrahChronology.INSTANCE.date(1520, 7, 13)}, in data_dateYearDay()
236 … {HijrahChronology.INSTANCE.dateYearDay(1521, 112), HijrahChronology.INSTANCE.date(1521, 4, 25)}, in data_dateYearDay()
251 HijrahDate hd1 = HijrahChronology.INSTANCE.dateYearDay(1434, 1); in test_getDayOfYear()
253 HijrahDate hd = HijrahChronology.INSTANCE.dateYearDay(1434, i); in test_getDayOfYear()
261 HijrahDate hd = HijrahChronology.INSTANCE.dateYearDay(1434, 1); in test_withDayOfYear()
271 HijrahDate hd = HijrahChronology.INSTANCE.dateYearDay(1435, 1); in test_withDayOfYearTooSmall()
[all …]
DTestJapaneseChronology.java215 JapaneseDate date1 = JAPANESE.dateYearDay(era, yearOfEra, dayOfYear); in test_firstDayOfEra()
234 JapaneseDate date = JAPANESE.dateYearDay(era, yearOfEra, dayOfYear); in test_invalidDayYear()
DTestJapaneseChronoImpl.java134 JapaneseDate jd = JapaneseChronology.INSTANCE.dateYearDay(era, year, 1); in test_dayOfYearVsCalendar()