Removed unused leapYearsSinceEpoch

This commit is contained in:
coffeepots
2015-07-31 10:20:21 +01:00
parent 5e0b8d5ef6
commit f9d909bb94

View File

@@ -1068,10 +1068,7 @@ const
secondsInMin = 60
secondsInHour = 60*60
secondsInDay = 60*60*24
const
epochStartYear = 1970
leapYearsSinceEpoch = countLeapYears(epochStartYear)
proc getDayOfWeek*(day, month, year: int): WeekDay =
## Returns the day of the week enum from day, month and year.