摘要: 1 import "strconv" 2 3 func IsLeapYear(y string) bool { //y == 2000, 2004 4 //判断是否为闰年 5 year, _ := strconv.Atoi(y) 6 if year%4 == 0 && y... 阅读全文
posted @ 2014-05-22 19:42 sndnvaps 阅读(647) 评论(0) 推荐(0) 编辑