Home | History | Annotate | Download | only in i18n

Lines Matching defs:Transition

21  * A struct representing a time zone transition
23 struct Transition {
165 // Build the transition array which represents historical time zone
227 // Check if one of final rules has earlier transition date
255 Transition *trst = (Transition*)uprv_malloc(sizeof(Transition));
278 // Append the first transition for each
289 Transition *final0 = (Transition*)uprv_malloc(sizeof(Transition));
294 Transition *final1 = (Transition*)uprv_malloc(sizeof(Transition));
418 UDate tstart = getTransitionTime((Transition*)fHistoricTransitions->elementAt(0),
424 UDate tend = getTransitionTime((Transition*)fHistoricTransitions->elementAt(idx),
431 rule = ((Transition*)fHistoricTransitions->elementAt(idx))->to;
434 // Find a historical transition
436 if (date >= getTransitionTime((Transition*)fHistoricTransitions->elementAt(idx),
442 rule = ((Transition*)fHistoricTransitions->elementAt(idx))->to;
473 // after the next transition.
481 // If DST is not used now, check if DST is used after the next transition
584 // Transition rules
629 Transition *trs = (Transition*)fHistoricTransitions->orphanElementAt(0);
718 Transition result;
719 Transition *tzt = (Transition*)fHistoricTransitions->elementAt(0);
726 tzt = (Transition*)fHistoricTransitions->elementAt(idx);
756 // Find a transition within the historic transitions
758 Transition *prev = tzt;
760 tzt = (Transition*)fHistoricTransitions->elementAt(idx);
801 Transition result;
802 Transition *tzt = (Transition*)fHistoricTransitions->elementAt(0);
809 tzt = (Transition*)fHistoricTransitions->elementAt(idx);
840 // Find a transition within the historic transitions
843 tzt = (Transition*)fHistoricTransitions->elementAt(idx);
871 RuleBasedTimeZone::getTransitionTime(Transition* transition, UBool local,
873 UDate time = transition->time;
875 time += getLocalDelta(transition->from->getRawOffset(), transition->from->getDSTSavings(),
876 transition->to->getRawOffset(), transition->to->getDSTSavings(),
894 // Positive transition, which makes a non-existing local time range
904 // Interprets the time with rule before the transition,
909 // Negative transition, which makes a duplicated local time range
919 // Interprets the time with rule after the transition,