Function

ECaltime_leap_years_up_to

Declaration [src]

gint
time_leap_years_up_to (
  gint year
)

Description [src]

Returns the number of leap years since year 1 up to (but not including) the specified year. Year is the normal year, e.g. 2001.

Parameters

year

Type: gint

The year.

Return value

Type: gint

Number of leap years.