summaryrefslogtreecommitdiffstats
path: root/util/local_database
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2017-10-31 16:08:38 +0100
committerEdward Welbourne <edward.welbourne@qt.io>2017-11-15 14:17:30 +0000
commitfd7fc981d8f411d6a20d5f45eb31ed356a197bd2 (patch)
treea449f7229951b60549d6ebb6390c6c9804d53a8c /util/local_database
parentf0fc28ee301830d1d09a1a2e2cbe2adf937fb676 (diff)
Restructure Dynamic TZ query to same form as Registry variant
Break out the reading of an individual rule to a function and add a fall-back that tries to get a non-dynamic rule when there's no dynamic data for the zone. At the same time, change the first rule, in all cases to apply for all time (i.e. set its .startYear to MIN_YEAR, instead of 1970 or the advertised start range): we'll use it when extrapolating backwards into the past. Change-Id: Ife548c7c7deebef2427d2838f3e12ed7abb631c1 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'util/local_database')
0 files changed, 0 insertions, 0 deletions