isYearEnd
Syntax
isYearEnd(X)
Arguments
X is a scalar/vector of type DATE, DATEHOUR, DATETIME, TIMESTAMP or NANOTIMESTAMP.
Details
Determine if each element in X is the last day of a year.
Examples
isYearEnd(2012.12.31);
// output
true
isYearEnd([2012.12.30,2012.12.31]);
// output
[false,true]
Related function: isYearStart