יחידה:תאריך עברי: הבדלים בין גרסאות בדף

המשך עבודה
אין תקציר עריכה
שורה 50: שורה 50:


function allmonths(hyear)
function allmonths(hyear)
return math.floor((hyear - 9) * 235 / 19) + 87
local C = math.floor((hyear - 9) * 235 / 19) + 87
return C
end
end


שורה 65: שורה 66:


function metonic(hyear)
function metonic(hyear)
return (x * 12 + 5) % 19
local x = (hyear * 12 + 5) % 19
return x
end
end