Searched refs:gregorianYear (Results 1 – 7 of 7) sorted by relevance
42 public static final boolean isGregorianLeapYear(int gregorianYear) { in isGregorianLeapYear() argument43 return (((gregorianYear % 4) == 0) in isGregorianLeapYear()44 && (((gregorianYear % 100) != 0) || ((gregorianYear % 400) == 0))); in isGregorianLeapYear()
55 private int gregorianYear = FIELD_UNDEFINED; field in LocalGregorianCalendar.Date61 gregorianYear = FIELD_UNDEFINED; in setEra()69 gregorianYear += localYear; in addYear()77 gregorianYear = FIELD_UNDEFINED; in setYear()84 return gregorianYear; in getNormalizedYear()89 this.gregorianYear = normalizedYear; in setNormalizedYear()377 public boolean isLeapYear(int gregorianYear) { in isLeapYear() argument378 return CalendarUtils.isGregorianLeapYear(gregorianYear); in isLeapYear()
357 int gregorianYear = jera.getPrivateEra().getSinceDate().getYear() + yearOfEra - 1; in prolepticYear() local359 return gregorianYear; in prolepticYear()361 if (gregorianYear >= Year.MIN_VALUE && gregorianYear <= Year.MAX_VALUE) { in prolepticYear()365 return gregorianYear; in prolepticYear()
180 …id test_transitions(JapaneseEra era, int yearOfEra, int month, int dayOfMonth, int gregorianYear) { in test_transitions() argument181 assertEquals(JAPANESE.prolepticYear(era, yearOfEra), gregorianYear); in test_transitions() local184 JapaneseDate jdate2 = JapaneseDate.of(gregorianYear, month, dayOfMonth); in test_transitions()
98 public boolean isLeapYear(int gregorianYear) { in isLeapYear() argument161 private int gregorianYear = -2147483648; // 0x80000000 field in LocalGregorianCalendar.Date
35 public static final boolean isGregorianLeapYear(int gregorianYear) { in isGregorianLeapYear() argument
2198 private int monthLength(int month, int gregorianYear) { in monthLength() argument2199 return CalendarUtils.isGregorianLeapYear(gregorianYear) ? in monthLength()