Home | History | Annotate | Download | only in i18n

Lines Matching defs: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 rule = ((Transition*)fHistoricTransitions->elementAt(idx))->to;
436 // Find a historical transition
438 if (date >= getTransitionTime((Transition*)fHistoricTransitions->elementAt(idx),
444 rule = ((Transition*)fHistoricTransitions->elementAt(idx))->to;
475 // after the next transition.
483 // If DST is not used now, check if DST is used after the next transition
586 // Transition rules
631 Transition *trs = (Transition*)fHistoricTransitions->orphanElementAt(0);
720 Transition result;
721 Transition *tzt = (Transition*)fHistoricTransitions->elementAt(0);
728 tzt = (Transition*)fHistoricTransitions->elementAt(idx);
758 // Find a transition within the historic transitions
760 Transition *prev = tzt;
762 tzt = (Transition*)fHistoricTransitions->elementAt(idx);
803 Transition result;
804 Transition *tzt = (Transition*)fHistoricTransitions->elementAt(0);
811 tzt = (Transition*)fHistoricTransitions->elementAt(idx);
842 // Find a transition within the historic transitions
845 tzt = (Transition*)fHistoricTransitions->elementAt(idx);
873 RuleBasedTimeZone::getTransitionTime(Transition* transition, UBool local,
875 UDate time = transition->time;
877 time += getLocalDelta(transition->from->getRawOffset(), transition->from->getDSTSavings(),
878 transition->to->getRawOffset(), transition->to->getDSTSavings(),
896 // Positive transition, which makes a non-existing local time range
906 // Interprets the time with rule before the transition,
911 // Negative transition, which makes a duplicated local time range
921 // Interprets the time with rule after the transition,