MenoData / Time4J

Advanced date, time and interval library for Java with sun/moon-astronomy and calendars like Chinese, Coptic, Ethiopian, French Republican, Hebrew, Hijri, Historic Christian, Indian National, Japanese, Julian, Korean, Minguo, Persian, Thai, Vietnamese
GNU Lesser General Public License v2.1
424 stars 62 forks source link

Reduce calendar class loading #968

Closed MenoData closed 2 years ago

MenoData commented 2 years ago

Calendar class loading should be reduced with respect to future adaptation of Time4J-code to the Android environment (in Time4A). Therefore the serialization needs some overhaul by breaking up the old SPX-class into several pieces.

Until now, the SPX-class causes class loading of every associated calender if just one calender is needed.