Thanks to visit codestin.com
Credit goes to codeql.github.com

CodeQL library for Python
codeql/python-all 4.0.7-dev (changelog, source)
Search

Primitive predicate date::getYear

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

int getYear()