Searched refs:firstDayOfYear (Results 1 – 7 of 7) sorted by relevance
/libcore/ojluni/src/test/java/time/tck/java/time/ |
D | TCKMonth.java | 440 assertEquals(Month.JANUARY.firstDayOfYear(false), 1); in test_firstDayOfYear_notLeapYear() 441 assertEquals(Month.FEBRUARY.firstDayOfYear(false), 1 + 31); in test_firstDayOfYear_notLeapYear() 442 assertEquals(Month.MARCH.firstDayOfYear(false), 1 + 31 + 28); in test_firstDayOfYear_notLeapYear() 443 assertEquals(Month.APRIL.firstDayOfYear(false), 1 + 31 + 28 + 31); in test_firstDayOfYear_notLeapYear() 444 assertEquals(Month.MAY.firstDayOfYear(false), 1 + 31 + 28 + 31 + 30); in test_firstDayOfYear_notLeapYear() 445 assertEquals(Month.JUNE.firstDayOfYear(false), 1 + 31 + 28 + 31 + 30 + 31); in test_firstDayOfYear_notLeapYear() 446 assertEquals(Month.JULY.firstDayOfYear(false), 1 + 31 + 28 + 31 + 30 + 31 + 30); in test_firstDayOfYear_notLeapYear() 447 assertEquals(Month.AUGUST.firstDayOfYear(false), 1 + 31 + 28 + 31 + 30 + 31 + 30 + 31); in test_firstDayOfYear_notLeapYear() 448 … assertEquals(Month.SEPTEMBER.firstDayOfYear(false), 1 + 31 + 28 + 31 + 30 + 31 + 30 + 31 + 31); in test_firstDayOfYear_notLeapYear() 449 … assertEquals(Month.OCTOBER.firstDayOfYear(false), 1 + 31 + 28 + 31 + 30 + 31 + 30 + 31 + 31 + 30); in test_firstDayOfYear_notLeapYear() [all …]
|
/libcore/ojluni/src/test/java/time/tck/java/time/temporal/ |
D | TCKTemporalAdjusters.java | 209 assertNotNull(TemporalAdjusters.firstDayOfYear()); in factory_firstDayOfYear() 217 LocalDate test = (LocalDate) TemporalAdjusters.firstDayOfYear().adjustInto(date); in test_firstDayOfYear_nonLeap() 230 LocalDate test = (LocalDate) TemporalAdjusters.firstDayOfYear().adjustInto(date); in test_firstDayOfYear_leap()
|
/libcore/ojluni/src/main/java/java/time/ |
D | Month.java | 495 public int firstDayOfYear(boolean leapYear) { in firstDayOfYear() method in Month
|
D | LocalDate.java | 287 int monthEnd = moy.firstDayOfYear(leap) + moy.length(leap) - 1; in ofYearDay() 291 int dom = dayOfYear - moy.firstDayOfYear(leap) + 1; in ofYearDay() 782 return getMonth().firstDayOfYear(isLeapYear()) + day - 1; in getDayOfYear()
|
/libcore/ojluni/src/main/java/java/time/temporal/ |
D | TemporalAdjusters.java | 229 public static TemporalAdjuster firstDayOfYear() { in firstDayOfYear() method
|
/libcore/ojluni/src/test/java/time/test/java/time/chrono/ |
D | TestUmmAlQuraChronology.java | 366 assertEquals(date.with(TemporalAdjusters.firstDayOfYear()), HijrahDate.of(1554, 1, 1)); in test_temporalDayAdjustments()
|
/libcore/api/ |
D | current.txt | 10889 method public int firstDayOfYear(boolean); 11957 method public static java.time.temporal.TemporalAdjuster firstDayOfYear();
|