Search in sources :

Example 1 with CalendarCache

use of android.icu.impl.CalendarCache in project j2objc by google.

the class ChineseCalendar method readObject.

/**
 * Override readObject.
 */
private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException {
    epochYear = CHINESE_EPOCH_YEAR;
    zoneAstro = CHINA_ZONE;
    stream.defaultReadObject();
    /* set up the transient caches... */
    astro = new CalendarAstronomer();
    winterSolsticeCache = new CalendarCache();
    newYearCache = new CalendarCache();
}
Also used : CalendarCache(android.icu.impl.CalendarCache) CalendarAstronomer(android.icu.impl.CalendarAstronomer)

Aggregations

CalendarAstronomer (android.icu.impl.CalendarAstronomer)1 CalendarCache (android.icu.impl.CalendarCache)1