Skip to content
Snippets Groups Projects
Commit 96cfc7e9 authored by Alexander Schlemmer's avatar Alexander Schlemmer
Browse files

DOC: docstring added for leap seconds initialization procedure

parent 31d051bd
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment