4,962
个编辑
(创建页面,内容为“local p = {} -- Julian Day Number conversion function to_jdn(year, month, day) local a = math.floor((14 - month) / 12) local y = year + 4800 - a local m = month + 12 * a - 3 return day + math.floor((153 * m + 2) / 5) + 365 * y + math.floor(y / 4) - math.floor(y / 100) + math.floor(y / 400) - 32045 end function from_jdn(jdn) local f = jdn + 1401 + math.floor(math.floor((4 * jdn + 274277) / 146097) * 3 / 4) - 38 local e = 4 * f + 3 l…”) |
小 (已保护“模块:ASADCalendarConvertion”:日历转换函数([编辑=仅允许管理员](无限期)[移动=仅允许管理员](无限期))) |
(没有差异)
| |