[ 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.
year |
The year. |
number of leap years. |