summaryrefslogtreecommitdiffstats
path: root/LICENSE.LGPLv3
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2017-10-26 15:44:18 +0200
committerEdward Welbourne <edward.welbourne@qt.io>2017-11-15 14:17:20 +0000
commit10745de2795c82fa5b2d1790df67831f1ad4d192 (patch)
tree50bd307886e2410f62887d0e351c8d26ef027ca9 /LICENSE.LGPLv3
parent4c4ac0d976bc5daa89d6f845fa1a28479b00847f (diff)
DRY: eliminate code duplication in calculateTransitionsForYear()
Replace with calculateTransitionForYear(), which just does one of the transitions, and wrap that with a pair-struct type to call it for DST and standard time, respectively. This also eliminate in/out arguments, which is said to be good for optimisers. Change-Id: I1e397404a0abceee7654524902af5be4eb88a625 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'LICENSE.LGPLv3')
0 files changed, 0 insertions, 0 deletions