4 ms·
I guess it allows you to implement a JVM that runs on bare metal, or a host without timezone support.
by lou1306 6y ago
I guess it allows you to implement a JVM that runs on bare metal, or a host without timezone support.
- jholloway7 6y agoYep, it makes it easier to port the JRE to platforms like Windows that have an entirely different TZ system. Python, for example, has the same problem. Historically, Python took the stance of providing a "naive" datetime module that provides a conversion API, but delegated the actual TZ conversion to external implementations (dateutil, pytz). Only recently (as of 3.9) have they added a stdlib implementation that uses system-level zoneinfo by default.