CodeQL library for C#
codeql/csharp-all 3.1.1-dev (changelog, source)
Search

Primitive predicate date::getYear

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

int getYear()