[][src]Module sunrise_libtimezone::utils

Utils used for local time managment.

Functions

get_leap_days

Get the total count of leap days since year 1.

get_leap_days_not_neg

Actual implementation of get_leap_days.

increment_overflow

Increment the given ip with j if it doesn't overflow.

is_leap_year

Return true if it's a leap year.

normalize_overflow

Normalize and increment the given ip with the given unit and base if it doesn't overflow.