Home
last modified time | relevance | path

Searched refs:calc (Results 1 – 1 of 1) sorted by relevance

/libcore/luni/src/main/java/libcore/util/
DZoneInfo.java204 long calc = (year / 400) * MILLISECONDS_PER_400_YEARS; in getOffset() local
207 calc += year * (365 * MILLISECONDS_PER_DAY); in getOffset()
208 calc += ((year + 3) / 4) * MILLISECONDS_PER_DAY; in getOffset()
211 calc -= ((year - 1) / 100) * MILLISECONDS_PER_DAY; in getOffset()
217 calc += mlen[month] * MILLISECONDS_PER_DAY; in getOffset()
218 calc += (day - 1) * MILLISECONDS_PER_DAY; in getOffset()
219 calc += millis; in getOffset()
221 calc -= mDelegate.getRawOffset(); in getOffset()
222 calc -= UNIX_OFFSET; in getOffset()
224 return mDelegate.getOffset(calc); in getOffset()