☰
DDOCs
GID:GLIB2
v0.9.13
/
glib.date_time
/
DateTime.getYear
🔍
☾
DateTime.getYear
int getYear()
nothrow
Retrieves the year represented by datetime in the Gregorian calendar.
Returns
the year represented by datetime