if 现在年 - 出生年 >=(周岁+1) then
return true
elseif 现在年 - 出生年=周岁 then
if 现在月 - 出生月>=1 then
return true
elseif 现在月 - 出生月=0 then
if 现在日 - 出生日 >=0 then
return true
else
return false
end if
else
return false
end if
else
return false
end if
if 现在年 - 出生年 >=1 then
return true
elseif 现在年 - 出生年=0 then
if 现在月 - 出生月>=1 then
return true
elseif 现在月 - 出生月=0 then
if 现在日 - 出生日 >=0 then
return true
else
return false
end if
else
return false
end if
else
return false
end if