Home | History | Annotate | Download | only in i18n

Lines Matching defs:Transition

24  * A struct representing a time zone transition
26 struct Transition {
187 // Build the transition array which represents historical time zone
249 // Check if one of final rules has earlier transition date
277 Transition *trst = (Transition*)uprv_malloc(sizeof(Transition));
300 // Append the first transition for each
311 Transition *final0 = (Transition*)uprv_malloc(sizeof(Transition));
316 Transition *final1 = (Transition*)uprv_malloc(sizeof(Transition));
440 UDate tstart = getTransitionTime((Transition*)fHistoricTransitions->elementAt(0),
446 UDate tend = getTransitionTime((Transition*)fHistoricTransitions->elementAt(idx),
453 // no final rules or the given time is before the first transition
455 rule = ((Transition*)fHistoricTransitions->elementAt(idx))->to;
458 // Find a historical transition
460 if (date >= getTransitionTime((Transition*)fHistoricTransitions->elementAt(idx),
466 rule = ((Transition*)fHistoricTransitions->elementAt(idx))->to;
497 // after the next transition.
505 // If DST is not used now, check if DST is used after the next transition
608 // Transition rules
653 Transition *trs = (Transition*)fHistoricTransitions->orphanElementAt(0);
747 Transition result;
748 Transition *tzt = (Transition*)fHistoricTransitions->elementAt(0);
755 tzt = (Transition*)fHistoricTransitions->elementAt(idx);
785 // Find a transition within the historic transitions
787 Transition *prev = tzt;
789 tzt = (Transition*)fHistoricTransitions->elementAt(idx);
830 Transition result;
831 Transition *tzt = (Transition*)fHistoricTransitions->elementAt(0);
838 tzt = (Transition*)fHistoricTransitions->elementAt(idx);
869 // Find a transition within the historic transitions
872 tzt = (Transition*)fHistoricTransitions->elementAt(idx);
900 RuleBasedTimeZone::getTransitionTime(Transition* transition, UBool local,
902 UDate time = transition->time;
904 time += getLocalDelta(transition->from->getRawOffset(), transition->from->getDSTSavings(),
905 transition->to->getRawOffset(), transition->to->getDSTSavings(),
923 // Positive transition, which makes a non-existing local time range
933 // Interprets the time with rule before the transition,
938 // Negative transition, which makes a duplicated local time range
948 // Interprets the time with rule after the transition,