Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/sun/util/calendar/
DAbstractCalendar.java58 static final int EPOCH_OFFSET = 719163; field in AbstractCalendar
167 days += EPOCH_OFFSET; in getCalendarDate()
181 long ms = (gd - EPOCH_OFFSET) * DAY_IN_MILLIS + getTimeOfDay(date); in getTime()
DLocalGregorianCalendar.java393 adjustYear(ldate, (fixedDate - EPOCH_OFFSET) * DAY_IN_MILLIS, 0); in getCalendarDateFromFixedDate()
/libcore/ojluni/annotations/hiddenapi/sun/util/calendar/
DAbstractCalendar.java127 static final int EPOCH_OFFSET = 719163; // 0xaf93b field in AbstractCalendar
/libcore/ojluni/src/main/java/java/util/
DGregorianCalendar.java398 private static final int EPOCH_OFFSET = 719163; // Fixed date of January 1, 1970 (Gregorian) field in GregorianCalendar
534 (((DEFAULT_GREGORIAN_CUTOVER + 1)/ONE_DAY) - 1) + EPOCH_OFFSET; // == 577736
778 + EPOCH_OFFSET; in setGregorianChange()
1085 long utcTime = (fd - EPOCH_OFFSET) * ONE_DAY + timeOfDay;
2387 fixedDate += EPOCH_OFFSET; in computeFields()
2788 long millis = (fixedDate - EPOCH_OFFSET) * ONE_DAY + timeOfDay; in computeTime()
DJapaneseImperialCalendar.java110 private static final int EPOCH_OFFSET = 719163; // Fixed date of January 1, 1970 (Gregorian) field in JapaneseImperialCalendar
518 setTimeInMillis((fd - EPOCH_OFFSET) * ONE_DAY + timeOfDay - zoneOffset); in add()
1637 fixedDate += EPOCH_OFFSET; in computeFields()
1922 long millis = (fixedDate - EPOCH_OFFSET) * ONE_DAY + timeOfDay; in computeTime()