Lines Matching refs:tr

146     TimeZoneTransition tr;  in getSimpleRulesNear()  local
148 avail = getNextTransition(date, FALSE, tr); in getSimpleRulesNear()
150 tr.getFrom()->getName(initialName); in getSimpleRulesNear()
151 initialRaw = tr.getFrom()->getRawOffset(); in getSimpleRulesNear()
152 initialDst = tr.getFrom()->getDSTSavings(); in getSimpleRulesNear()
156 UDate nextTransitionTime = tr.getTime(); in getSimpleRulesNear()
157 if (((tr.getFrom()->getDSTSavings() == 0 && tr.getTo()->getDSTSavings() != 0) in getSimpleRulesNear()
158 || (tr.getFrom()->getDSTSavings() != 0 && tr.getTo()->getDSTSavings() == 0)) in getSimpleRulesNear()
170 tr.getTo()->getName(name); in getSimpleRulesNear()
178 ar1 = new AnnualTimeZoneRule(name, initialRaw, tr.getTo()->getDSTSavings(), in getSimpleRulesNear()
181 if (tr.getTo()->getRawOffset() == initialRaw) { in getSimpleRulesNear()
183 avail = getNextTransition(nextTransitionTime, FALSE, tr); in getSimpleRulesNear()
187 if (((tr.getFrom()->getDSTSavings() == 0 && tr.getTo()->getDSTSavings() != 0) in getSimpleRulesNear()
188 … || (tr.getFrom()->getDSTSavings() != 0 && tr.getTo()->getDSTSavings() == 0)) in getSimpleRulesNear()
189 && nextTransitionTime + MILLIS_PER_YEAR > tr.getTime()) { in getSimpleRulesNear()
192 … Grego::timeToFields(tr.getTime() + tr.getFrom()->getRawOffset() + tr.getFrom()->getDSTSavings(), in getSimpleRulesNear()
197 tr.getTo()->getName(name); in getSimpleRulesNear()
198 … ar2 = new AnnualTimeZoneRule(name, tr.getTo()->getRawOffset(), tr.getTo()->getDSTSavings(), in getSimpleRulesNear()
202 …avail = ar2->getPreviousStart(date, tr.getFrom()->getRawOffset(), tr.getFrom()->getDSTSavings(), T… in getSimpleRulesNear()
204 || initialRaw != tr.getTo()->getRawOffset() in getSimpleRulesNear()
205 || initialDst != tr.getTo()->getDSTSavings()) { in getSimpleRulesNear()
215 avail = getPreviousTransition(date, TRUE, tr); in getSimpleRulesNear()
219 if ((tr.getFrom()->getDSTSavings() == 0 && tr.getTo()->getDSTSavings() != 0) in getSimpleRulesNear()
220 … || (tr.getFrom()->getDSTSavings() != 0 && tr.getTo()->getDSTSavings() == 0)) { in getSimpleRulesNear()
223 … Grego::timeToFields(tr.getTime() + tr.getFrom()->getRawOffset() + tr.getFrom()->getDSTSavings(), in getSimpleRulesNear()
227 tr.getTo()->getName(name); in getSimpleRulesNear()
235 …avail = ar2->getNextStart(date, tr.getFrom()->getRawOffset(), tr.getFrom()->getDSTSavings(), FALSE… in getSimpleRulesNear()
258 avail = getPreviousTransition(date, TRUE, tr); in getSimpleRulesNear()
260 tr.getTo()->getName(initialName); in getSimpleRulesNear()
261 initialRaw = tr.getTo()->getRawOffset(); in getSimpleRulesNear()
262 initialDst = tr.getTo()->getDSTSavings(); in getSimpleRulesNear()