Searched refs:inclusive (Results 1 - 25 of 102) sorted by relevance

12345

/external/guava/guava/src/com/google/common/collect/
H A DBoundType.java38 * The endpoint value <i>is</i> considered part of the set ("inclusive").
50 static BoundType forBoolean(boolean inclusive) { argument
51 return inclusive ? CLOSED : OPEN;
H A DDescendingImmutableSortedSet.java47 ImmutableSortedSet<E> headSetImpl(E toElement, boolean inclusive) { argument
48 return forward.tailSet(toElement, inclusive).descendingSet();
58 ImmutableSortedSet<E> tailSetImpl(E fromElement, boolean inclusive) { argument
59 return forward.headSet(fromElement, inclusive).descendingSet();
H A DContiguousSet.java94 @Override public ContiguousSet<C> headSet(C toElement, boolean inclusive) { argument
95 return headSetImpl(checkNotNull(toElement), inclusive);
125 @Override public ContiguousSet<C> tailSet(C fromElement, boolean inclusive) { argument
126 return tailSetImpl(checkNotNull(fromElement), inclusive);
132 /*@Override*/ abstract ContiguousSet<C> headSetImpl(C toElement, boolean inclusive); argument
137 /*@Override*/ abstract ContiguousSet<C> tailSetImpl(C fromElement, boolean inclusive); argument
H A DForwardingNavigableSet.java210 public NavigableSet<E> headSet(E toElement, boolean inclusive) { argument
211 return delegate().headSet(toElement, inclusive);
225 public NavigableSet<E> tailSet(E fromElement, boolean inclusive) { argument
226 return delegate().tailSet(fromElement, inclusive);
H A DRegularImmutableSortedMap.java113 public ImmutableSortedMap<K, V> headMap(K toKey, boolean inclusive) { argument
114 return getSubMap(0, keySet.headIndex(checkNotNull(toKey), inclusive));
118 public ImmutableSortedMap<K, V> tailMap(K fromKey, boolean inclusive) { argument
119 return getSubMap(keySet.tailIndex(checkNotNull(fromKey), inclusive), size());
H A DRegularImmutableSortedSet.java219 ImmutableSortedSet<E> headSetImpl(E toElement, boolean inclusive) { argument
220 return getSubSet(0, headIndex(toElement, inclusive));
223 int headIndex(E toElement, boolean inclusive) { argument
226 inclusive ? FIRST_AFTER : FIRST_PRESENT, NEXT_HIGHER);
237 ImmutableSortedSet<E> tailSetImpl(E fromElement, boolean inclusive) { argument
238 return getSubSet(tailIndex(fromElement, inclusive), size());
241 int tailIndex(E fromElement, boolean inclusive) { argument
246 inclusive ? FIRST_PRESENT : FIRST_AFTER, NEXT_HIGHER);
H A DSortedMultisets.java143 public NavigableSet<E> headSet(E toElement, boolean inclusive) { argument
145 multiset().headMultiset(toElement, BoundType.forBoolean(inclusive)));
149 public NavigableSet<E> tailSet(E fromElement, boolean inclusive) { argument
151 multiset().tailMultiset(fromElement, BoundType.forBoolean(inclusive)));
H A DEmptyImmutableSortedMap.java97 public ImmutableSortedMap<K, V> headMap(K toKey, boolean inclusive) { argument
103 public ImmutableSortedMap<K, V> tailMap(K fromKey, boolean inclusive) { argument
H A DEmptyImmutableSortedSet.java107 ImmutableSortedSet<E> headSetImpl(E toElement, boolean inclusive) { argument
118 ImmutableSortedSet<E> tailSetImpl(E fromElement, boolean inclusive) { argument
/external/icu/android_icu4j/src/main/java/android/icu/util/
H A DInitialTimeZoneRule.java69 boolean inclusive) {
79 int prevDSTSavings, boolean inclusive) {
68 getNextStart(long base, int prevRawOffset, int prevDSTSavings, boolean inclusive) argument
78 getPreviousStart(long base, int prevRawOffset, int prevDSTSavings, boolean inclusive) argument
H A DTimeZoneRule.java122 * @param inclusive Whether the base time is inclusive or not.
127 public abstract Date getNextStart(long base, int prevRawOffset, int prevDSTSavings, boolean inclusive); argument
138 * @param inclusive Whether the base time is inclusive or not.
143 public abstract Date getPreviousStart(long base, int prevRawOffset, int prevDSTSavings, boolean inclusive); argument
H A DTimeArrayTimeZoneRule.java90 public Date getNextStart(long base, int prevOffset, int prevDSTSavings, boolean inclusive) { argument
94 if (time < base || (!inclusive && time == base)) {
107 public Date getPreviousStart(long base, int prevOffset, int prevDSTSavings, boolean inclusive) { argument
111 if (time < base || (inclusive && time == base)) {
H A DAnnualTimeZoneRule.java80 * @return The end year of this rule (inclusive). The year is in Gregorian calendar
175 public Date getNextStart(long base, int prevRawOffset, int prevDSTSavings, boolean inclusive) { argument
182 if (d != null && (d.getTime() < base || (!inclusive && (d.getTime() == base)))) {
191 public Date getPreviousStart(long base, int prevRawOffset, int prevDSTSavings, boolean inclusive) { argument
198 if (d != null && (d.getTime() > base || (!inclusive && (d.getTime() == base)))) {
H A DRuleBasedTimeZone.java322 public TimeZoneTransition getNextTransition(long base, boolean inclusive) { argument
331 if (tt > base || (inclusive && tt == base)) {
337 if (inclusive && tt == base) {
343 finalRules[1].getRawOffset(), finalRules[1].getDSTSavings(), inclusive);
345 finalRules[0].getRawOffset(), finalRules[0].getDSTSavings(), inclusive);
364 if (tt < base || (!inclusive && tt == base)) {
394 public TimeZoneTransition getPreviousTransition(long base, boolean inclusive) { argument
402 if (inclusive && tt == base) {
410 if (inclusive && tt == base) {
416 finalRules[1].getRawOffset(), finalRules[1].getDSTSavings(), inclusive);
[all...]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
H A DInitialTimeZoneRule.java78 boolean inclusive) {
90 int prevDSTSavings, boolean inclusive) {
77 getNextStart(long base, int prevRawOffset, int prevDSTSavings, boolean inclusive) argument
89 getPreviousStart(long base, int prevRawOffset, int prevDSTSavings, boolean inclusive) argument
H A DTimeArrayTimeZoneRule.java96 public Date getNextStart(long base, int prevOffset, int prevDSTSavings, boolean inclusive) { argument
100 if (time < base || (!inclusive && time == base)) {
114 public Date getPreviousStart(long base, int prevOffset, int prevDSTSavings, boolean inclusive) { argument
118 if (time < base || (inclusive && time == base)) {
H A DTimeZoneRule.java135 * @param inclusive Whether the base time is inclusive or not.
142 public abstract Date getNextStart(long base, int prevRawOffset, int prevDSTSavings, boolean inclusive); argument
153 * @param inclusive Whether the base time is inclusive or not.
160 public abstract Date getPreviousStart(long base, int prevRawOffset, int prevDSTSavings, boolean inclusive); argument
H A DAnnualTimeZoneRule.java86 * @return The end year of this rule (inclusive). The year is in Gregorian calendar
188 public Date getNextStart(long base, int prevRawOffset, int prevDSTSavings, boolean inclusive) { argument
195 if (d != null && (d.getTime() < base || (!inclusive && (d.getTime() == base)))) {
205 public Date getPreviousStart(long base, int prevRawOffset, int prevDSTSavings, boolean inclusive) { argument
212 if (d != null && (d.getTime() > base || (!inclusive && (d.getTime() == base)))) {
H A DRuleBasedTimeZone.java344 public TimeZoneTransition getNextTransition(long base, boolean inclusive) { argument
353 if (tt > base || (inclusive && tt == base)) {
359 if (inclusive && tt == base) {
365 finalRules[1].getRawOffset(), finalRules[1].getDSTSavings(), inclusive);
367 finalRules[0].getRawOffset(), finalRules[0].getDSTSavings(), inclusive);
386 if (tt < base || (!inclusive && tt == base)) {
418 public TimeZoneTransition getPreviousTransition(long base, boolean inclusive) { argument
426 if (inclusive && tt == base) {
434 if (inclusive && tt == base) {
440 finalRules[1].getRawOffset(), finalRules[1].getDSTSavings(), inclusive);
[all...]
/external/icu/icu4c/source/test/intltest/
H A Dtzrulets.h45 UDate start, UDate end, UBool inclusive);
47 UDate start, UDate end, UBool inclusive);
/external/icu/icu4c/source/i18n/unicode/
H A Dbasictz.h45 * @param inclusive Whether the base time is inclusive or not.
50 virtual UBool getNextTransition(UDate base, UBool inclusive, TimeZoneTransition& result) const = 0;
55 * @param inclusive Whether the base time is inclusive or not.
60 virtual UBool getPreviousTransition(UDate base, UBool inclusive, TimeZoneTransition& result) const = 0;
68 * @param start The start time of the evaluated time range (inclusive)
69 * @param end The end time of the evaluated time range (inclusive)
H A Dtzrule.h132 * @param inclusive Whether the base time is inclusive or not.
140 UBool inclusive, UDate& result) const = 0;
149 * @param inclusive Whether the base time is inclusive or not.
157 UBool inclusive, UDate& result) const = 0;
314 * @param inclusive Whether the base time is inclusive or not.
322 UBool inclusive, UDate& result) const;
331 * @param inclusive Whethe
[all...]
H A Drbtz.h253 * @param inclusive Whether the base time is inclusive or not.
258 virtual UBool getNextTransition(UDate base, UBool inclusive, TimeZoneTransition& result) const;
263 * @param inclusive Whether the base time is inclusive or not.
268 virtual UBool getPreviousTransition(UDate base, UBool inclusive, TimeZoneTransition& result) const;
312 UBool findNext(UDate base, UBool inclusive, UDate& time, TimeZoneRule*& from, TimeZoneRule*& to) const;
313 UBool findPrev(UDate base, UBool inclusive, UDate& time, TimeZoneRule*& from, TimeZoneRule*& to) const;
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
H A DRegularContiguousSet.java48 @Override ContiguousSet<C> headSetImpl(C toElement, boolean inclusive) { argument
49 return intersectionInCurrentDomain(Range.upTo(toElement, BoundType.forBoolean(inclusive)));
63 @Override ContiguousSet<C> tailSetImpl(C fromElement, boolean inclusive) { argument
64 return intersectionInCurrentDomain(Range.downTo(fromElement, BoundType.forBoolean(inclusive)));
/external/icu/icu4c/source/i18n/
H A Dzrule.cpp129 int32_t prevDSTSavings, UBool inclusive, UDate& result) {
130 return ((InitialTimeZoneRule*)rule)->InitialTimeZoneRule::getNextStart(base, prevRawOffset, prevDSTSavings, inclusive, result);
135 int32_t prevDSTSavings, UBool inclusive, UDate& result) {
136 return ((InitialTimeZoneRule*)rule)->InitialTimeZoneRule::getPreviousStart(base, prevRawOffset, prevDSTSavings, inclusive, result);
128 izrule_getNextStart(IZRule* rule, UDate base, int32_t prevRawOffset, int32_t prevDSTSavings, UBool inclusive, UDate& result) argument
134 izrule_getPreviousStart(IZRule* rule, UDate base, int32_t prevRawOffset, int32_t prevDSTSavings, UBool inclusive, UDate& result) argument

Completed in 607 milliseconds

12345