diff --git a/src/main/java/caosdb/datetime/UTCDateTime.java b/src/main/java/caosdb/datetime/UTCDateTime.java index 846c8f9f266d4b834314b95e00973993d9031224..57176cce707ca12e734b14b99d22899f2af1b78d 100644 --- a/src/main/java/caosdb/datetime/UTCDateTime.java +++ b/src/main/java/caosdb/datetime/UTCDateTime.java @@ -162,6 +162,11 @@ public class UTCDateTime implements Interval { addLeapSecond(gc.getTimeInMillis() / 1000); } + /** + * Initialize the container with known leap seconds. This container has to be updated according to future changes of leap seconds. + * + * Currently all leap seconds between 1972 and 2019 are registered here, with the most recent leap second being added for December 2016. + */ private static void initLeapSeconds() { // june 1972