Searched refs:lengthOfMonth (Results 1 - 16 of 16) sorted by relevance

/libcore/ojluni/src/test/java/time/tck/java/time/chrono/
H A DTCKHijrahChronology.java304 final int lastDayInMonthM1 = date(yearM1, 12, 1).lengthOfMonth();
305 final int lastDayInMonthM2 = date(yearM1, 11, 1).lengthOfMonth();
306 final int lastDayInMonthM11 = date(yearM1, 2, 1).lengthOfMonth();
308 final int lastDayInMonth1 = date(year, 1, 1).lengthOfMonth();
309 final int lastDayInMonth2 = date(year, 2, 1).lengthOfMonth();
310 final int lastDayInMonth4 = date(year, 4, 1).lengthOfMonth();
311 final int lastDayInMonth5 = date(year, 5, 1).lengthOfMonth();
312 final int lastDayInMonth6 = date(year, 6, 1).lengthOfMonth();
313 final int lastDayInMonth7 = date(year, 7, 1).lengthOfMonth();
449 final int lastDayInMonthM1 = date(yearM1, 12, 1).lengthOfMonth();
[all...]
H A DCopticDate.java181 public int lengthOfMonth() { method in class:CopticDate
196 case DAY_OF_MONTH: return ValueRange.of(1, lengthOfMonth());
320 days -= end.lengthOfMonth();
H A DTCKMinguoChronology.java311 assertEquals(minguo.lengthOfMonth(), 29);
313 assertEquals(minguo.lengthOfMonth(), 28);
H A DTCKThaiBuddhistChronology.java318 assertEquals(jdate.lengthOfMonth(), 29);
320 assertEquals(jdate.lengthOfMonth(), 28);
H A DTCKJapaneseChronology.java398 assertEquals(jdate.lengthOfMonth(), 29);
400 assertEquals(jdate.lengthOfMonth(), 28);
/libcore/ojluni/src/test/java/time/tck/java/time/
H A DTCKLocalDate.java794 // lengthOfMonth()
798 assertEquals(LocalDate.of(2007, 1, 1).lengthOfMonth(), 31);
799 assertEquals(LocalDate.of(2007, 2, 1).lengthOfMonth(), 28);
800 assertEquals(LocalDate.of(2007, 3, 1).lengthOfMonth(), 31);
801 assertEquals(LocalDate.of(2007, 4, 1).lengthOfMonth(), 30);
802 assertEquals(LocalDate.of(2007, 5, 1).lengthOfMonth(), 31);
803 assertEquals(LocalDate.of(2007, 6, 1).lengthOfMonth(), 30);
804 assertEquals(LocalDate.of(2007, 7, 1).lengthOfMonth(), 31);
805 assertEquals(LocalDate.of(2007, 8, 1).lengthOfMonth(), 31);
806 assertEquals(LocalDate.of(2007, 9, 1).lengthOfMonth(), 3
[all...]
H A DTCKYearMonth.java1101 // lengthOfMonth()
1106 assertEquals(test.lengthOfMonth(), 30);
1112 assertEquals(test.lengthOfMonth(), 28);
1118 assertEquals(test.lengthOfMonth(), 29);
/libcore/ojluni/src/main/java/java/time/
H A DYearMonth.java573 return dayOfMonth >= 1 && dayOfMonth <= lengthOfMonth();
584 public int lengthOfMonth() { method in class:YearMonth
1107 return LocalDate.of(year, month, lengthOfMonth());
H A DLocalDate.java573 case DAY_OF_MONTH: return ValueRange.of(1, lengthOfMonth());
836 public int lengthOfMonth() { method in class:LocalDate
1666 days -= end.lengthOfMonth();
/libcore/ojluni/src/main/java/java/time/chrono/
H A DHijrahDate.java322 public int lengthOfMonth() { method in class:HijrahDate
347 case DAY_OF_MONTH: return ValueRange.of(1, lengthOfMonth());
598 days -= end.lengthOfMonth();
H A DJapaneseDate.java385 public int lengthOfMonth() { method in class:JapaneseDate
386 return isoDate.lengthOfMonth();
444 case DAY_OF_MONTH: return ValueRange.of(1, lengthOfMonth());
H A DMinguoDate.java247 public int lengthOfMonth() { method in class:MinguoDate
248 return isoDate.lengthOfMonth();
H A DThaiBuddhistDate.java247 public int lengthOfMonth() { method in class:ThaiBuddhistDate
248 return isoDate.lengthOfMonth();
H A DChronoLocalDate.java348 int lengthOfMonth(); method in interface:ChronoLocalDate
/libcore/ojluni/src/test/java/time/test/java/time/chrono/
H A DTestUmmAlQuraChronology.java216 int monthLen = maxDate.lengthOfMonth();
/libcore/ojluni/src/test/java/time/tck/java/time/temporal/
H A DTCKWeekFields.java277 LocalDate last = day.with(DAY_OF_MONTH, day.lengthOfMonth());

Completed in 171 milliseconds