mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-12-09 18:13:41 +01:00
Add a footnote explain leap years
svn path=/trunk/; revision=5854
This commit is contained in:
@@ -617,7 +617,10 @@ Returns %TRUE if the date is the last day of the month. The date must be valid.
|
||||
|
||||
<!-- ##### FUNCTION g_date_is_leap_year ##### -->
|
||||
<para>
|
||||
Returns %TRUE if the year is a leap year.
|
||||
Returns %TRUE if the year is a leap year.<footnote><para>
|
||||
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.</para></footnote>
|
||||
</para>
|
||||
|
||||
@year: year to check
|
||||
|
||||
Reference in New Issue
Block a user