sunTabInt static method
Implementation
static sunTabInt(int i) {
var iMod = i % 12;
if (iMod <= 3) {
return SUN_TAB[iMod];
}
if (iMod <= 6) {
return SUN_TAB[6 - iMod];
}
if (iMod <= 9) {
return -SUN_TAB[iMod - 6];
}
return -SUN_TAB[12 - iMod];
}