Skip to content
Snippets Groups Projects
Verified Commit 1004cf30 authored by Timm Fitschen's avatar Timm Fitschen
Browse files

Merge branch 'dev' into f-refactor-serialization

parents 5daba06f 0b80ef44
No related branches found
No related tags found
No related merge requests found
caosdb-webui @ 7d67a76f
Subproject commit b6677e848ed30cadeda5d1782bd4376ec6546031
Subproject commit 7d67a76f1ceede440a2d4dad4db8dcbd0d61b9ed
......@@ -162,6 +162,13 @@ 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.
*
* <p>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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment