time_leap_years_up_to


Description:

[ CCode ( cname = "time_leap_years_up_to" ) ]
public int time_leap_years_up_to (int year)

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

The year.

Returns:

number of leap years.


Namespace: ECal
Package: libecal-2.0