Home | History | Annotate | Download | only in i18n

Lines Matching refs:tr

136     TimeZoneTransition tr;
138 avail = getNextTransition(date, FALSE, tr);
140 tr.getFrom()->getName(initialName);
141 initialRaw = tr.getFrom()->getRawOffset();
142 initialDst = tr.getFrom()->getDSTSavings();
146 UDate nextTransitionTime = tr.getTime();
147 if (((tr.getFrom()->getDSTSavings() == 0 && tr.getTo()->getDSTSavings() != 0)
148 || (tr.getFrom()->getDSTSavings() != 0 && tr.getTo()->getDSTSavings() == 0))
160 tr.getTo()->getName(name);
168 ar1 = new AnnualTimeZoneRule(name, initialRaw, tr.getTo()->getDSTSavings(),
171 if (tr.getTo()->getRawOffset() == initialRaw) {
173 avail = getNextTransition(nextTransitionTime, FALSE, tr);
177 if (((tr.getFrom()->getDSTSavings() == 0 && tr.getTo()->getDSTSavings() != 0)
178 || (tr.getFrom()->getDSTSavings() != 0 && tr.getTo()->getDSTSavings() == 0))
179 && nextTransitionTime + MILLIS_PER_YEAR > tr.getTime()) {
182 Grego::timeToFields(tr.getTime() + tr.getFrom()->getRawOffset() + tr.getFrom()->getDSTSavings(),
187 tr.getTo()->getName(name);
188 ar2 = new AnnualTimeZoneRule(name, tr.getTo()->getRawOffset(), tr.getTo()->getDSTSavings(),
192 avail = ar2->getPreviousStart(date, tr.getFrom()->getRawOffset(), tr.getFrom()->getDSTSavings(), TRUE, d);
194 || initialRaw != tr.getTo()->getRawOffset()
195 || initialDst != tr.getTo()->getDSTSavings()) {
205 avail = getPreviousTransition(date, TRUE, tr);
209 if ((tr.getFrom()->getDSTSavings() == 0 && tr.getTo()->getDSTSavings() != 0)
210 || (tr.getFrom()->getDSTSavings() != 0 && tr.getTo()->getDSTSavings() == 0)) {
213 Grego::timeToFields(tr.getTime() + tr.getFrom()->getRawOffset() + tr.getFrom()->getDSTSavings(),
217 tr.getTo()->getName(name);
225 avail = ar2->getNextStart(date, tr.getFrom()->getRawOffset(), tr.getFrom()->getDSTSavings(), FALSE, d);
248 avail = getPreviousTransition(date, TRUE, tr);
250 tr.getTo()->getName(initialName);
251 initialRaw = tr.getTo()->getRawOffset();
252 initialDst = tr.getTo()->getDSTSavings();