CodeQL library for Java/Kotlin
codeql/java-all 7.0.1 (changelog, source)
Search

Primitive predicate date::getYear

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

int getYear()