codeql/javascript-all 3.0.2 (changelog, source)IndexSearchPrimitive predicate date::getYear
Returns the year component of the receiver (for example 2017)
int getYear()Source: https://codeql.github.com/codeql-standard-libraries/javascript/predicate.date$getYear.0.html