Home
last modified time | relevance | path

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

/libcore/ojluni/src/test/java/time/tck/java/time/chrono/
DTCKHijrahChronology.java304 final int lastDayInMonthM1 = date(yearM1, 12, 1).lengthOfMonth(); in data_resolve_ymd()
305 final int lastDayInMonthM2 = date(yearM1, 11, 1).lengthOfMonth(); in data_resolve_ymd()
306 final int lastDayInMonthM11 = date(yearM1, 2, 1).lengthOfMonth(); in data_resolve_ymd()
308 final int lastDayInMonth1 = date(year, 1, 1).lengthOfMonth(); in data_resolve_ymd()
309 final int lastDayInMonth2 = date(year, 2, 1).lengthOfMonth(); in data_resolve_ymd()
310 final int lastDayInMonth4 = date(year, 4, 1).lengthOfMonth(); in data_resolve_ymd()
311 final int lastDayInMonth5 = date(year, 5, 1).lengthOfMonth(); in data_resolve_ymd()
312 final int lastDayInMonth6 = date(year, 6, 1).lengthOfMonth(); in data_resolve_ymd()
313 final int lastDayInMonth7 = date(year, 7, 1).lengthOfMonth(); in data_resolve_ymd()
449 final int lastDayInMonthM1 = date(yearM1, 12, 1).lengthOfMonth(); in data_resolve_yd()
[all …]
DCopticDate.java181 public int lengthOfMonth() { in lengthOfMonth() method in CopticDate
196 case DAY_OF_MONTH: return ValueRange.of(1, lengthOfMonth()); in range()
320 days -= end.lengthOfMonth(); in until()
DTCKThaiBuddhistChronology.java318 assertEquals(jdate.lengthOfMonth(), 29); in test_isLeapYear()
320 assertEquals(jdate.lengthOfMonth(), 28); in test_isLeapYear()
DTCKMinguoChronology.java311 assertEquals(minguo.lengthOfMonth(), 29); in test_isLeapYear()
313 assertEquals(minguo.lengthOfMonth(), 28); in test_isLeapYear()
DTCKJapaneseChronology.java410 assertEquals(jdate.lengthOfMonth(), 29); in test_isLeapYear()
412 assertEquals(jdate.lengthOfMonth(), 28); in test_isLeapYear()
/libcore/ojluni/src/test/java/time/tck/java/time/
DTCKLocalDate.java798 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(), 30);
807 assertEquals(LocalDate.of(2007, 10, 1).lengthOfMonth(), 31);
[all …]
DTCKYearMonth.java1106 assertEquals(test.lengthOfMonth(), 30); in test_lengthOfMonth_june()
1112 assertEquals(test.lengthOfMonth(), 28); in test_lengthOfMonth_febNonLeap()
1118 assertEquals(test.lengthOfMonth(), 29); in test_lengthOfMonth_febLeap()
/libcore/ojluni/src/main/java/java/time/chrono/
DHijrahDate.java322 public int lengthOfMonth() { in lengthOfMonth() method in HijrahDate
347 case DAY_OF_MONTH: return ValueRange.of(1, lengthOfMonth()); in range()
598 days -= end.lengthOfMonth(); in until()
DJapaneseDate.java385 public int lengthOfMonth() { in lengthOfMonth() method in JapaneseDate
386 return isoDate.lengthOfMonth(); in lengthOfMonth()
448 case DAY_OF_MONTH: return ValueRange.of(1, lengthOfMonth()); in range()
DThaiBuddhistDate.java247 public int lengthOfMonth() { in lengthOfMonth() method in ThaiBuddhistDate
248 return isoDate.lengthOfMonth(); in lengthOfMonth()
DMinguoDate.java247 public int lengthOfMonth() { in lengthOfMonth() method in MinguoDate
248 return isoDate.lengthOfMonth(); in lengthOfMonth()
DChronoLocalDate.java348 int lengthOfMonth(); in lengthOfMonth() method
/libcore/ojluni/src/main/java/java/time/
DYearMonth.java573 return dayOfMonth >= 1 && dayOfMonth <= lengthOfMonth(); in isValidDay()
584 public int lengthOfMonth() { in lengthOfMonth() method in YearMonth
1107 return LocalDate.of(year, month, lengthOfMonth()); in atEndOfMonth()
DLocalDate.java573 case DAY_OF_MONTH: return ValueRange.of(1, lengthOfMonth()); in range()
836 public int lengthOfMonth() { in lengthOfMonth() method in LocalDate
1666 days -= end.lengthOfMonth(); in until()
/libcore/ojluni/src/test/java/time/test/java/time/chrono/
DTestUmmAlQuraChronology.java217 int monthLen = maxDate.lengthOfMonth(); in test_hijrahDateLimits()
/libcore/ojluni/src/test/java/time/tck/java/time/temporal/
DTCKWeekFields.java277 LocalDate last = day.with(DAY_OF_MONTH, day.lengthOfMonth()); in test_fieldRanges()