168
回編集
(ページの作成:「local p = {} MONTH_DAYS = {31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31} local function isLeap(year) return year % 4 == 0 and (year % 100 ~= 0 or year % 400 == 0)…」) |
(Wikiで動くように作ってなかったぞい) |
||
88行目: | 88行目: | ||
end | end | ||
p.gregorianToYogurian = | local function wikiGregorianToYogurian(frame) | ||
p.yogurianToGregorian = | gregorianToYogurian(frame.args[1],frame.args[2],frame.args[3]) | ||
end | |||
local function wikiYogurianToGregorian(frame) | |||
yogurianToGregorian(frame.args[1],frame.args[2],frame.args[3]) | |||
end | |||
p.gregorianToYogurian = wikiGregorianToYogurian | |||
p.yogurianToGregorian = wikiYogurianToGregorian | |||
return p | return p |