~ubuntu-branches/ubuntu/natty/glib2.0/natty

« back to all changes in this revision

Viewing changes to docs/reference/glib/html/glib-Date-and-Time-Functions.html

  • Committer: Bazaar Package Importer
  • Author(s): Robert Ancell
  • Date: 2011-03-08 13:28:27 UTC
  • mfrom: (1.59.13 upstream)
  • Revision ID: james.westby@ubuntu.com-20110308132827-odxdwb2fdtji2avm
Tags: 2.28.2-0ubuntu1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
1605
1605
<a name="g-date-is-leap-year"></a><h3>g_date_is_leap_year ()</h3>
1606
1606
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a>            g_date_is_leap_year                 (<em class="parameter"><code><a class="link" href="glib-Date-and-Time-Functions.html#GDateYear" title="GDateYear"><span class="type">GDateYear</span></a> year</code></em>);</pre>
1607
1607
<p>
1608
 
Returns <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the year is a leap year.<sup>[<a name="id604411" href="#ftn.id604411" class="footnote">4</a>]</sup>
 
1608
Returns <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the year is a leap year.<sup>[<a name="id647013" href="#ftn.id647013" class="footnote">4</a>]</sup>
1609
1609
</p>
1610
1610
<div class="variablelist"><table border="0">
1611
1611
<col align="left" valign="top">
1994
1994
</div>
1995
1995
<div class="footnotes">
1996
1996
<br><hr width="100" align="left">
1997
 
<div class="footnote"><p><sup>[<a id="ftn.id604411" href="#id604411" class="para">4</a>] </sup>
 
1997
<div class="footnote"><p><sup>[<a id="ftn.id647013" href="#id647013" class="para">4</a>] </sup>
1998
1998
For the purposes of this function, leap year is every year divisible by
1999
1999
4 unless that year is divisible by 100. If it is divisible by 100 it would
2000
2000
be a leap year only if that year is also divisible by 400.</p></div>