Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The Date.isLeapYear() API determines if the specified year is a leap year.

Parameters

  1. Year

Return Value

Boolean value of true if leap year; otherwise a Boolean value of false is returned.

Example

...