April 3, 2013
2:45 a.m.
On 04/02/2013 12:21 PM, Simon Perreault wrote:
Looking at the source code of "calendar-next-time-zone-transition", it looks very error prone to me. Am I reading the comments right? It initializes a binary search with the results of a heuristic?
Yes. It's a heuristic that should work with all real-world time zone histories (including all time zone histories in the tz database). It won't work in general, though. zdump uses a similar heuristic, if memory serves.