Lines Matching refs:calc
158 long calc = (year / 400) * MILLISECONDS_PER_400_YEARS;
161 calc += year * (365 * MILLISECONDS_PER_DAY);
162 calc += ((year + 3) / 4) * MILLISECONDS_PER_DAY;
165 calc -= ((year - 1) / 100) * MILLISECONDS_PER_DAY;
170 calc += mlen[month] * MILLISECONDS_PER_DAY;
171 calc += (day - 1) * MILLISECONDS_PER_DAY;
172 calc += millis;
174 calc -= mRawOffset;
175 calc -= UNIX_OFFSET;
177 return getOffset(calc);