isQuarterEnd

Syntax

isQuarterEnd(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 quarter.

Examples

isQuarterEnd(2012.06.30);
// output
true

isQuarterEnd([2012.06.30,2012.07.01]);
// output
[true,false]

Related function: isQuarterStart