Searched refs:inclusive (Results 1 - 25 of 106) 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.java75 boolean inclusive) {
86 int prevDSTSavings, boolean inclusive) {
74 getNextStart(long base, int prevRawOffset, int prevDSTSavings, boolean inclusive) argument
85 getPreviousStart(long base, int prevRawOffset, int prevDSTSavings, boolean inclusive) argument
H A DTimeArrayTimeZoneRule.java95 public Date getNextStart(long base, int prevOffset, int prevDSTSavings, boolean inclusive) { argument
99 if (time < base || (!inclusive && time == base)) {
113 public Date getPreviousStart(long base, int prevOffset, int prevDSTSavings, boolean inclusive) { argument
117 if (time < base || (inclusive && time == base)) {
H A DTimeZoneRule.java124 * @param inclusive Whether the base time is inclusive or not.
129 public abstract Date getNextStart(long base, int prevRawOffset, int prevDSTSavings, boolean inclusive); argument
140 * @param inclusive Whether the base time is inclusive or not.
145 public abstract Date getPreviousStart(long base, int prevRawOffset, int prevDSTSavings, boolean inclusive); argument
H A DAnnualTimeZoneRule.java82 * @return The end year of this rule (inclusive). The year is in Gregorian calendar
180 public Date getNextStart(long base, int prevRawOffset, int prevDSTSavings, boolean inclusive) { argument
187 if (d != null && (d.getTime() < base || (!inclusive && (d.getTime() == base)))) {
197 public Date getPreviousStart(long base, int prevRawOffset, int prevDSTSavings, boolean inclusive) { argument
204 if (d != null && (d.getTime() > base || (!inclusive && (d.getTime() == base)))) {
H A DRuleBasedTimeZone.java324 public TimeZoneTransition getNextTransition(long base, boolean inclusive) { argument
333 if (tt > base || (inclusive && tt == base)) {
339 if (inclusive && tt == base) {
345 finalRules[1].getRawOffset(), finalRules[1].getDSTSavings(), inclusive);
347 finalRules[0].getRawOffset(), finalRules[0].getDSTSavings(), inclusive);
366 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/icu4c/source/test/intltest/
H A Dtzrulets.h47 UDate start, UDate end, UBool inclusive);
49 UDate start, UDate end, UBool inclusive);
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
H A DInitialTimeZoneRule.java84 boolean inclusive) {
97 int prevDSTSavings, boolean inclusive) {
83 getNextStart(long base, int prevRawOffset, int prevDSTSavings, boolean inclusive) argument
96 getPreviousStart(long base, int prevRawOffset, int prevDSTSavings, boolean inclusive) argument
H A DTimeArrayTimeZoneRule.java101 public Date getNextStart(long base, int prevOffset, int prevDSTSavings, boolean inclusive) { argument
105 if (time < base || (!inclusive && time == base)) {
120 public Date getPreviousStart(long base, int prevOffset, int prevDSTSavings, boolean inclusive) { argument
124 if (time < base || (inclusive && time == base)) {
H A DTimeZoneRule.java137 * @param inclusive Whether the base time is inclusive or not.
144 public abstract Date getNextStart(long base, int prevRawOffset, int prevDSTSavings, boolean inclusive); argument
155 * @param inclusive Whether the base time is inclusive or not.
162 public abstract Date getPreviousStart(long base, int prevRawOffset, int prevDSTSavings, boolean inclusive); argument
H A DAnnualTimeZoneRule.java88 * @return The end year of this rule (inclusive). The year is in Gregorian calendar
193 public Date getNextStart(long base, int prevRawOffset, int prevDSTSavings, boolean inclusive) { argument
200 if (d != null && (d.getTime() < base || (!inclusive && (d.getTime() == base)))) {
211 public Date getPreviousStart(long base, int prevRawOffset, int prevDSTSavings, boolean inclusive) { argument
218 if (d != null && (d.getTime() > base || (!inclusive && (d.getTime() == base)))) {
H A DRuleBasedTimeZone.java346 public TimeZoneTransition getNextTransition(long base, boolean inclusive) { argument
355 if (tt > base || (inclusive && tt == base)) {
361 if (inclusive && tt == base) {
367 finalRules[1].getRawOffset(), finalRules[1].getDSTSavings(), inclusive);
369 finalRules[0].getRawOffset(), finalRules[0].getDSTSavings(), inclusive);
388 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/i18n/unicode/
H A Dbasictz.h47 * @param inclusive Whether the base time is inclusive or not.
52 virtual UBool getNextTransition(UDate base, UBool inclusive, TimeZoneTransition& result) const = 0;
57 * @param inclusive Whether the base time is inclusive or not.
62 virtual UBool getPreviousTransition(UDate base, UBool inclusive, TimeZoneTransition& result) const = 0;
70 * @param start The start time of the evaluated time range (inclusive)
71 * @param end The end time of the evaluated time range (inclusive)
H A Dtzrule.h134 * @param inclusive Whether the base time is inclusive or not.
142 UBool inclusive, UDate& result) const = 0;
151 * @param inclusive Whether the base time is inclusive or not.
159 UBool inclusive, UDate& result) const = 0;
316 * @param inclusive Whether the base time is inclusive or not.
324 UBool inclusive, UDate& result) const;
333 * @param inclusive Whethe
[all...]
H A Drbtz.h255 * @param inclusive Whether the base time is inclusive or not.
260 virtual UBool getNextTransition(UDate base, UBool inclusive, TimeZoneTransition& result) const;
265 * @param inclusive Whether the base time is inclusive or not.
270 virtual UBool getPreviousTransition(UDate base, UBool inclusive, TimeZoneTransition& result) const;
314 UBool findNext(UDate base, UBool inclusive, UDate& time, TimeZoneRule*& from, TimeZoneRule*& to) const;
315 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.cpp131 int32_t prevDSTSavings, UBool inclusive, UDate& result) {
132 return ((InitialTimeZoneRule*)rule)->InitialTimeZoneRule::getNextStart(base, prevRawOffset, prevDSTSavings, inclusive, result);
137 int32_t prevDSTSavings, UBool inclusive, UDate& result) {
138 return ((InitialTimeZoneRule*)rule)->InitialTimeZoneRule::getPreviousStart(base, prevRawOffset, prevDSTSavings, inclusive, result);
130 izrule_getNextStart(IZRule* rule, UDate base, int32_t prevRawOffset, int32_t prevDSTSavings, UBool inclusive, UDate& result) argument
136 izrule_getPreviousStart(IZRule* rule, UDate base, int32_t prevRawOffset, int32_t prevDSTSavings, UBool inclusive, UDate& result) argument

Completed in 578 milliseconds

12345