[tz] Dealing with Pre-1970 Data

Stephen Colebourne scolebourne at joda.org
Sun Sep 1 08:59:33 UTC 2013


On 1 September 2013 09:32, Guy Harris <guy at alum.mit.edu> wrote:
> So you'd like the tz code to include a routine that takes, as an argument, a longitude value and a seconds-since-the-Epoch time value, and converts it to LMT (independent, of course, of the current time zone), so that people who want LMT rather than local standardized time for a particular location on Earth would call that routine, supplying it the longitude of that location, rather than calling localtime(), and, similarly, supply a routine that takes a "struct tm" and a longitude value and returns a seconds-since-the-Epoch value, so that people who want to convert an LMT date/time value for a particular location on Earth, rather than a local standardized time date/time value for a particular tzdb zone, to seconds-since-the-Epoch would call that routine, supplying it the longitude for that location, rather than calling mktime()?

Such a routine would be useful to some, though no longer to me because
I've decided to eliminate LMT for the data I use.
thanks
Stephen



More information about the tz mailing list