go语言:实现zellers congruence泽勒一致算法
泽勒一致算法(Zeller’s Congruence)是一种计算给定日期是星期几的算法。下面是用Go语言实现的完整代码:
package main
import (
"fmt"
)
// Zeller's Congruence algorithm to find the day of the week
func zellersCongruence(day, month, year int) string
package main
import (
"fmt"
)
// Zeller's Congruence algorithm to find the day of the week
func zellersCongruence(day, month, year int) string