Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

java check if year is leap

      boolean isLeap =  new GregorianCalendar().isLeapYear(2020);
      //returns true
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #java #check #year #leap
ADD COMMENT
Topic
Name
9+2 =