Java examples for java.util:Year
is Julian Leap Year
//package com.java2s; public class Main { public static void main(String[] argv) throws Exception { int y = 2; System.out.println(isJulianLeapYear(y)); }//from w w w . java2 s . com public static boolean isJulianLeapYear(int y) { return (y & 3) == 0; } }