Here you can find the source of isJulianLeapYear(int normalizedJulianYear)
Parameter | Description |
---|---|
normalizedJulianYear | a normalized Julian calendar year |
public static final boolean isJulianLeapYear(int normalizedJulianYear)
//package com.java2s; //License from project: Apache License public class Main { /**/*from w ww .j a va 2 s .co m*/ * Returns whether the specified year is a leap year in the Julian calendar * system. The year number must be a normalized one (e.g., 45 B.C.E. is * 1-45). * * @param normalizedJulianYear * a normalized Julian calendar year * @return true if the given year is a leap year in the Julian calendar * system. * @see CalendarDate#isLeapYear */ public static final boolean isJulianLeapYear(int normalizedJulianYear) { return (normalizedJulianYear % 4) == 0; } }