Skip navigation links

Package net.time4j.scale

This package handles the UTC timeline (Corrected Universal Time) and other time scales.

See: Description

Package net.time4j.scale Description

This package handles the UTC timeline (Corrected Universal Time) and other time scales.

Tools for conversion of time scales and calculation of UTC-leapseconds are offered, see the classes TimeScale and LeapSeconds.

Every chronology has its own elements, units and rules but all systems where time points implement the interface UniversalTime have the same common reference to UTC time scale. This way a common storage model for different systems and timezones can be realized such that all local timestamps can finally be stored as UTC (using timezones). If as special case timezone rules possibly change (DST changes) and the timestamps to be stored are in the future then the alternative would be to save all temporal element values including the local time the timezone and the daylight-saving-rule to be applied.

Skip navigation links

Copyright © 2014–2018. All rights reserved.