check if year is leap year or not in java

check if year is leap year or not in java
refer to:‮‬lautturi.com
/**
 * @author lautturi.com
 * Java example: determine whether a year is leap year
 */
import java.util.*;

public class Lautturi {

	public static void main(String[] args) {

		boolean isLeap = new GregorianCalendar().isLeapYear(2020);
		if (isLeap)
			System.out.println("2020 is leap year");
	}
}

output:

2020 is leap year
Created Time:2017-09-19 22:20:41  Author:lautturi