API Version: 2.0
Library Version: 2.84.0
Generated by gi-docgen 2024.1
gboolean g_date_is_leap_year ( GDateYear year )
Returns TRUE if the year is a leap year.
TRUE
For the purposes of this function, leap year is every year divisible by 4 unless that year is divisible by 100. If it is divisible by 100 it would be a leap year only if that year is also divisible by 400.
year
Type: GDateYear
GDateYear
Year to check.
Type: gboolean
gboolean
TRUE if the year is a leap year.