diff options
author | Edward Welbourne <edward.welbourne@qt.io> | 2017-10-26 17:04:05 +0200 |
---|---|---|
committer | Edward Welbourne <edward.welbourne@qt.io> | 2017-11-15 14:17:25 +0000 |
commit | f0fc28ee301830d1d09a1a2e2cbe2adf937fb676 (patch) | |
tree | d468d28865f1322cf9b36913e00667e3a9839a70 /dist/changes-1.39-19980623 | |
parent | 10745de2795c82fa5b2d1790df67831f1ad4d192 (diff) |
Replace ruleForYear() method with a local index-based function
Removed private method of QWinTimeZonePrivate in favor of a local
static that returns a rule index rather than a rule; this prepares the
way for smarter searching in transition-finding methods. In the
process, re-work the function to use binary chop instead of a linear
search through a potentially long sorted list.
Change-Id: I2171e3f01afa3037b9718e1be7d0c9343aa74ff0
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'dist/changes-1.39-19980623')
0 files changed, 0 insertions, 0 deletions