@@ -85,7 +85,7 @@ public Set<RateType> getRateTypes() {
8585 * Returns the starting date/time this rate is valid. The result can also be
8686 * {@code null}, since it is possible, that an {@link ExchangeRate} does not
8787 * have starting validity range. This also can be queried by calling
88- * {@link #isLowerBound ()}.
88+ * {@link #hasLowerBound ()}.
8989 * <p>
9090 * Basically all date time types that are available on a platform must be
9191 * supported. On SE this includes Date, Calendar and the new 310 types
@@ -105,7 +105,7 @@ public <T> T getValidFrom(Class<T> type) {
105105 * <p>
106106 * This is modelled as {@link Long} instaed of {@code long}, since it is
107107 * possible, that an {@link ExchangeRate} does not have starting validity
108- * range. This also can be queried by calling {@link #isLowerBound ()}.
108+ * range. This also can be queried by calling {@link #hasLowerBound ()}.
109109 *
110110 * @return The UTC timestamp of the rate, defining valid from, or
111111 * {@code null}, if no starting validity constraint is set.
@@ -118,7 +118,7 @@ public Long getValidFromMillis() {
118118 * Returns the ending date/time this rate is valid. The result can also be
119119 * {@code null}, since it is possible, that an {@link ExchangeRate} does not
120120 * have ending validity range. This also can be queried by calling
121- * {@link #isUpperBound ()}.
121+ * {@link #hasUpperBound ()}.
122122 * <p>
123123 * Basically all date time types that are available on a platform must be
124124 * supported. On SE this includes Date, Calendar and the new 310 types
@@ -139,7 +139,7 @@ public <T> T getValidTo(Class<T> type) {
139139 * <p>
140140 * This is modelled as {@link Long} instaed of {@code long}, since it is
141141 * possible, that an {@link ExchangeRate} does not have ending validity
142- * range. This also can be queried by calling {@link #isUpperBound ()}.
142+ * range. This also can be queried by calling {@link #hasUpperBound ()}.
143143 *
144144 * @return the duration of validity in milliseconds, or {@code null} if no
145145 * ending validity constraint is set.
@@ -175,7 +175,7 @@ public boolean isInScope(long timestamp) {
175175 * @return {@code true} if {@link #getValidFromMillis()} is not {@code null}
176176 * .
177177 */
178- public boolean isLowerBound () {
178+ public boolean hasLowerBound () {
179179 return getValidFrom (Long .class ) != null ;
180180 }
181181
@@ -185,7 +185,7 @@ public boolean isLowerBound() {
185185 *
186186 * @return {@code true} if {@link #getValidToMillis()} is not {@code null}.
187187 */
188- public boolean isUpperBound () {
188+ public boolean hasUpperBound () {
189189 return getValidTo (Long .class ) != null ;
190190 }
191191
0 commit comments