Home | History | Annotate | Download | only in i18n

Lines Matching refs:Transition

26  * A struct representing a time zone transition
28 struct Transition {
185 // Build the transition array which represents historical time zone
247 // Check if one of final rules has earlier transition date
275 Transition *trst = (Transition*)uprv_malloc(sizeof(Transition));
298 // Append the first transition for each
309 Transition *final0 = (Transition*)uprv_malloc(sizeof(Transition));
314 Transition *final1 = (Transition*)uprv_malloc(sizeof(Transition));
438 UDate tstart = getTransitionTime((Transition*)fHistoricTransitions->elementAt(0),
444 UDate tend = getTransitionTime((Transition*)fHistoricTransitions->elementAt(idx),
451 // no final rules or the given time is before the first transition
453 rule = ((Transition*)fHistoricTransitions->elementAt(idx))->to;
456 // Find a historical transition
458 if (date >= getTransitionTime((Transition*)fHistoricTransitions->elementAt(idx),
464 rule = ((Transition*)fHistoricTransitions->elementAt(idx))->to;
495 // after the next transition.
503 // If DST is not used now, check if DST is used after the next transition
606 // Transition rules
651 Transition *trs = (Transition*)fHistoricTransitions->orphanElementAt(0);
745 Transition result;
746 Transition *tzt = (Transition*)fHistoricTransitions->elementAt(0);
753 tzt = (Transition*)fHistoricTransitions->elementAt(idx);
783 // Find a transition within the historic transitions
785 Transition *prev = tzt;
787 tzt = (Transition*)fHistoricTransitions->elementAt(idx);
828 Transition result;
829 Transition *tzt = (Transition*)fHistoricTransitions->elementAt(0);
836 tzt = (Transition*)fHistoricTransitions->elementAt(idx);
867 // Find a transition within the historic transitions
870 tzt = (Transition*)fHistoricTransitions->elementAt(idx);
898 RuleBasedTimeZone::getTransitionTime(Transition* transition, UBool local,
900 UDate time = transition->time;
902 time += getLocalDelta(transition->from->getRawOffset(), transition->from->getDSTSavings(),
903 transition->to->getRawOffset(), transition->to->getDSTSavings(),
921 // Positive transition, which makes a non-existing local time range
931 // Interprets the time with rule before the transition,
936 // Negative transition, which makes a duplicated local time range
946 // Interprets the time with rule after the transition,