摘要
详细介绍并推导了基姆拉尔森计算公式,但此公式只能推算1582年10月15日及以后的星期序号,文章对其进行了改进,使该公式的适用范围扩大到了公元后的所有日期,最后将其用C语言实现。
This article introduces and derives the Kim Larson Calculation Formula in detail.But this formula can only calculate the serial numbers of the week of October 15,1582 and after,this article has improved it,so that the scope of the formula is extended to all dates after AD,finally implemented it in C language.
作者
陈天宇
贺细平
CHEN Tian-yu;HE Xi-ping(College of Information and Intelligence Science and Technology,Hunan Agricultural University,Changsha,410128,China)
出处
《电脑与信息技术》
2020年第3期47-49,53,共4页
Computer and Information Technology
关键词
基姆拉尔森计算公式
星期推算
格里高利历
程序设计
Kim Larson Calculation Formula
weekly calculation
Gregorian calendar
programming