Lines Matching refs:Transition
23 * A struct representing a time zone transition
25 struct Transition {
167 // Build the transition array which represents historical time zone
229 // Check if one of final rules has earlier transition date
257 Transition *trst = (Transition*)uprv_malloc(sizeof(Transition));
280 // Append the first transition for each
291 Transition *final0 = (Transition*)uprv_malloc(sizeof(Transition));
296 Transition *final1 = (Transition*)uprv_malloc(sizeof(Transition));
420 UDate tstart = getTransitionTime((Transition*)fHistoricTransitions->elementAt(0),
426 UDate tend = getTransitionTime((Transition*)fHistoricTransitions->elementAt(idx),
433 // no final rules or the given time is before the first transition
435 rule = ((Transition*)fHistoricTransitions->elementAt(idx))->to;
438 // Find a historical transition
440 if (date >= getTransitionTime((Transition*)fHistoricTransitions->elementAt(idx),
446 rule = ((Transition*)fHistoricTransitions->elementAt(idx))->to;
477 // after the next transition.
485 // If DST is not used now, check if DST is used after the next transition
588 // Transition rules
633 Transition *trs = (Transition*)fHistoricTransitions->orphanElementAt(0);
727 Transition result;
728 Transition *tzt = (Transition*)fHistoricTransitions->elementAt(0);
735 tzt = (Transition*)fHistoricTransitions->elementAt(idx);
765 // Find a transition within the historic transitions
767 Transition *prev = tzt;
769 tzt = (Transition*)fHistoricTransitions->elementAt(idx);
810 Transition result;
811 Transition *tzt = (Transition*)fHistoricTransitions->elementAt(0);
818 tzt = (Transition*)fHistoricTransitions->elementAt(idx);
849 // Find a transition within the historic transitions
852 tzt = (Transition*)fHistoricTransitions->elementAt(idx);
880 RuleBasedTimeZone::getTransitionTime(Transition* transition, UBool local,
882 UDate time = transition->time;
884 time += getLocalDelta(transition->from->getRawOffset(), transition->from->getDSTSavings(),
885 transition->to->getRawOffset(), transition->to->getDSTSavings(),
903 // Positive transition, which makes a non-existing local time range
913 // Interprets the time with rule before the transition,
918 // Negative transition, which makes a duplicated local time range
928 // Interprets the time with rule after the transition,