Search
DateTime.isLeapYear Method
See Also
 






Returns a value indicating whether the specified year is a leap year.

Namespace: com.mindfusion.common
Package: com.mindfusion.common

 Syntax

Java  Copy Code

public static boolean isLeapYear (
    int year
)

 Parameters

year

A 4-digit year.

 Return Value

true if year is a leap year; otherwise, false.

 See Also