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.java24 private final long[] startTimes; field in TimeArrayTimeZoneRule
43 …public TimeArrayTimeZoneRule(String name, int rawOffset, int dstSavings, long[] startTimes, int ti… in TimeArrayTimeZoneRule() argument
45 if (startTimes == null || startTimes.length == 0) { in TimeArrayTimeZoneRule()
48 this.startTimes = startTimes.clone(); in TimeArrayTimeZoneRule()
49 Arrays.sort(this.startTimes); in TimeArrayTimeZoneRule()
61 return startTimes.clone(); in getStartTimes()
80 return new Date(getUTC(startTimes[0], prevRawOffset, prevDSTSavings)); in getFirstStart()
88 return new Date(getUTC(startTimes[startTimes.length - 1], prevRawOffset, prevDSTSavings)); in getFinalStart()
96 int i = startTimes.length - 1; in getNextStart()
98 long time = getUTC(startTimes[i], prevOffset, prevDSTSavings); in getNextStart()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DTimeArrayTimeZoneRule.java23 private final long[] startTimes; field in TimeArrayTimeZoneRule
44 …public TimeArrayTimeZoneRule(String name, int rawOffset, int dstSavings, long[] startTimes, int ti… in TimeArrayTimeZoneRule() argument
46 if (startTimes == null || startTimes.length == 0) { in TimeArrayTimeZoneRule()
49 this.startTimes = startTimes.clone(); in TimeArrayTimeZoneRule()
50 Arrays.sort(this.startTimes); in TimeArrayTimeZoneRule()
63 return startTimes.clone(); in getStartTimes()
84 return new Date(getUTC(startTimes[0], prevRawOffset, prevDSTSavings)); in getFirstStart()
93 return new Date(getUTC(startTimes[startTimes.length - 1], prevRawOffset, prevDSTSavings)); in getFinalStart()
102 int i = startTimes.length - 1; in getNextStart()
104 long time = getUTC(startTimes[i], prevOffset, prevDSTSavings); in getNextStart()
[all …]
/external/icu/icu4c/source/i18n/
Dbasictz.cpp427 int32_t startTimes; in getTimeZoneRulesAfter() local
431 startTimes = tar->countStartTimes(); in getTimeZoneRulesAfter()
433 for (idx = 0; idx < startTimes; idx++) { in getTimeZoneRulesAfter()
445 int32_t asize = startTimes - idx; in getTimeZoneRulesAfter()
Dtzrule.cpp405 const UDate* startTimes, in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
411 initStartTimes(startTimes, numStartTimes, status); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
/external/icu/icu4j/main/classes/core/src/com/ibm/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/android_icu4j/src/main/java/android/icu/impl/
DOlsonTimeZone.java1163 long[] startTimes = new long[nTimes]; in initTransitionRules() local
1164 System.arraycopy(times, 0, startTimes, 0, nTimes); in initTransitionRules()
1172 raw, dst, startTimes, DateTimeRule.UTC_TIME); in initTransitionRules()
/external/icu/icu4c/source/i18n/unicode/
Dtzrule.h638 const UDate* startTimes, int32_t numStartTimes, DateTimeRule::TimeRuleType timeRuleType);
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/
DTimeZoneRuleTest.java520 long[] startTimes = new long[] { in TestVTimeZoneRoundTripPartial() local
528 for (int n = 0; n < startTimes.length; n++) { in TestVTimeZoneRoundTripPartial()
529 long startTime = startTimes[n]; in TestVTimeZoneRoundTripPartial()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/
DTimeZoneRuleTest.java517 long[] startTimes = new long[] { in TestVTimeZoneRoundTripPartial() local
525 for (int n = 0; n < startTimes.length; n++) { in TestVTimeZoneRoundTripPartial()
526 long startTime = startTimes[n]; in TestVTimeZoneRoundTripPartial()