Home
last modified time | relevance | path

Searched refs:startTimes (Results 1 – 9 of 9) sorted by relevance

/external/icu/android_icu4j/src/main/java/android/icu/util/
DTimeArrayTimeZoneRule.java22 private final long[] startTimes; field in TimeArrayTimeZoneRule
41 …public TimeArrayTimeZoneRule(String name, int rawOffset, int dstSavings, long[] startTimes, int ti… in TimeArrayTimeZoneRule() argument
43 if (startTimes == null || startTimes.length == 0) { in TimeArrayTimeZoneRule()
46 this.startTimes = startTimes.clone(); in TimeArrayTimeZoneRule()
47 Arrays.sort(this.startTimes); in TimeArrayTimeZoneRule()
59 return startTimes.clone(); in getStartTimes()
77 return new Date(getUTC(startTimes[0], prevRawOffset, prevDSTSavings)); in getFirstStart()
84 return new Date(getUTC(startTimes[startTimes.length - 1], prevRawOffset, prevDSTSavings)); in getFinalStart()
91 int i = startTimes.length - 1; in getNextStart()
93 long time = getUTC(startTimes[i], prevOffset, prevDSTSavings); in getNextStart()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DTimeArrayTimeZoneRule.java21 private final long[] startTimes; field in TimeArrayTimeZoneRule
42 …public TimeArrayTimeZoneRule(String name, int rawOffset, int dstSavings, long[] startTimes, int ti… in TimeArrayTimeZoneRule() argument
44 if (startTimes == null || startTimes.length == 0) { in TimeArrayTimeZoneRule()
47 this.startTimes = startTimes.clone(); in TimeArrayTimeZoneRule()
48 Arrays.sort(this.startTimes); in TimeArrayTimeZoneRule()
61 return startTimes.clone(); in getStartTimes()
81 return new Date(getUTC(startTimes[0], prevRawOffset, prevDSTSavings)); in getFirstStart()
89 return new Date(getUTC(startTimes[startTimes.length - 1], prevRawOffset, prevDSTSavings)); in getFinalStart()
97 int i = startTimes.length - 1; in getNextStart()
99 long time = getUTC(startTimes[i], prevOffset, prevDSTSavings); in getNextStart()
[all …]
/external/icu/icu4c/source/i18n/
Dbasictz.cpp425 int32_t startTimes; in getTimeZoneRulesAfter() local
429 startTimes = tar->countStartTimes(); in getTimeZoneRulesAfter()
431 for (idx = 0; idx < startTimes; idx++) { in getTimeZoneRulesAfter()
443 int32_t asize = startTimes - idx; in getTimeZoneRulesAfter()
Dtzrule.cpp403 const UDate* startTimes, in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
409 initStartTimes(startTimes, numStartTimes, status); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DOlsonTimeZone.java1161 long[] startTimes = new long[nTimes]; in initTransitionRules() local
1162 System.arraycopy(times, 0, startTimes, 0, nTimes); in initTransitionRules()
1170 raw, dst, startTimes, DateTimeRule.UTC_TIME); in initTransitionRules()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DOlsonTimeZone.java1159 long[] startTimes = new long[nTimes]; in initTransitionRules() local
1160 System.arraycopy(times, 0, startTimes, 0, nTimes); in initTransitionRules()
1168 raw, dst, startTimes, DateTimeRule.UTC_TIME); in initTransitionRules()
/external/icu/icu4c/source/i18n/unicode/
Dtzrule.h636 const UDate* startTimes, int32_t numStartTimes, DateTimeRule::TimeRuleType timeRuleType);
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/
DTimeZoneRuleTest.java507 long[] startTimes = new long[] { in TestVTimeZoneRoundTripPartial() local
515 for (int n = 0; n < startTimes.length; n++) { in TestVTimeZoneRoundTripPartial()
516 long startTime = startTimes[n]; in TestVTimeZoneRoundTripPartial()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/
DTimeZoneRuleTest.java511 long[] startTimes = new long[] { in TestVTimeZoneRoundTripPartial() local
519 for (int n = 0; n < startTimes.length; n++) { in TestVTimeZoneRoundTripPartial()
520 long startTime = startTimes[n]; in TestVTimeZoneRoundTripPartial()