isLeapYear
Syntax
isLeapYear(X)
Arguments
X is a scalar/vector of type DATE, DATEHOUR, DATETIME, TIMESTAMP or NANOTIMESTAMP.
Details
Determine if each element in X is in a leap year.
Examples
isLeapYear(2012.06.12T12:30:00);
// output
true
isLeapYear([2012.01.01,2013.01.01,2014.01.01,2015.01.01]);
// output
[true,false,false,false]