Feature #653

Add leap second handling to GTime class.

Added by Knödlseder Jürgen almost 12 years ago. Updated about 10 years ago.

Status:ClosedStart date:12/17/2012
Priority:NormalDue date:
Assigned To:Knödlseder Jürgen% Done:

100%

Category:-
Target version:00-09-00
Duration:

Description

So far, conversion between TT and UTC is not managed by GTime. Also, no routines exist to print the time in string format. Both features should be added.

For this, we have to see how we deal with leap seconds:
  1. Hardwired?
  2. Provided in a file?

XTime.h Magnifier (20 KB) Knödlseder Jürgen, 10/11/2014 09:10 PM

XTime.cc Magnifier (30.3 KB) Knödlseder Jürgen, 10/11/2014 09:10 PM

UTC, GPS, TAI, and Unix-C times..pdf (192 KB) Preview Knödlseder Jürgen, 10/11/2014 09:10 PM


Recurrence

No recurrence.

History

#1 Updated by Knödlseder Jürgen about 10 years ago

Attached some files that describe the problematic and that give some code examples. I will try to adapt XTime.cc in the GTime class.

#2 Updated by Knödlseder Jürgen about 10 years ago

  • Status changed from In Progress to Closed
  • Target version set to 00-09-00
  • % Done changed from 0 to 100

Implement GTime::utc() methods to set and retrieve the time as a string in the UTC time system.

Leap seconds are hard-wired and need a regular update of the code.

Also available in: Atom PDF