Implementation of Conway's Doomsday Algorithm in Go
Go
Implementation of Conway's Doomsday Algorithm in Go
The Doomsday rule or Doomsday algorithm is a way of calculating the day of the
week of a given date. It provides a perpetual calendar because the Gregorian
calendar moves in cycles of 400 years.