CodeQL library for JavaScript
codeql/javascript-all 0.2.3 (changelog, source)
Search

Primitive predicate date::getYear

Returns the year component of the receiver (for example 2017)

int getYear()