@@ -85,7 +85,7 @@ public Set<RateType> getRateTypes() {
85
85
* Returns the starting date/time this rate is valid. The result can also be
86
86
* {@code null}, since it is possible, that an {@link ExchangeRate} does not
87
87
* have starting validity range. This also can be queried by calling
88
- * {@link #isLowerBound ()}.
88
+ * {@link #hasLowerBound ()}.
89
89
* <p>
90
90
* Basically all date time types that are available on a platform must be
91
91
* supported. On SE this includes Date, Calendar and the new 310 types
@@ -105,7 +105,7 @@ public <T> T getValidFrom(Class<T> type) {
105
105
* <p>
106
106
* This is modelled as {@link Long} instaed of {@code long}, since it is
107
107
* 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 ()}.
109
109
*
110
110
* @return The UTC timestamp of the rate, defining valid from, or
111
111
* {@code null}, if no starting validity constraint is set.
@@ -118,7 +118,7 @@ public Long getValidFromMillis() {
118
118
* Returns the ending date/time this rate is valid. The result can also be
119
119
* {@code null}, since it is possible, that an {@link ExchangeRate} does not
120
120
* have ending validity range. This also can be queried by calling
121
- * {@link #isUpperBound ()}.
121
+ * {@link #hasUpperBound ()}.
122
122
* <p>
123
123
* Basically all date time types that are available on a platform must be
124
124
* supported. On SE this includes Date, Calendar and the new 310 types
@@ -139,7 +139,7 @@ public <T> T getValidTo(Class<T> type) {
139
139
* <p>
140
140
* This is modelled as {@link Long} instaed of {@code long}, since it is
141
141
* 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 ()}.
143
143
*
144
144
* @return the duration of validity in milliseconds, or {@code null} if no
145
145
* ending validity constraint is set.
@@ -175,7 +175,7 @@ public boolean isInScope(long timestamp) {
175
175
* @return {@code true} if {@link #getValidFromMillis()} is not {@code null}
176
176
* .
177
177
*/
178
- public boolean isLowerBound () {
178
+ public boolean hasLowerBound () {
179
179
return getValidFrom (Long .class ) != null ;
180
180
}
181
181
@@ -185,7 +185,7 @@ public boolean isLowerBound() {
185
185
*
186
186
* @return {@code true} if {@link #getValidToMillis()} is not {@code null}.
187
187
*/
188
- public boolean isUpperBound () {
188
+ public boolean hasUpperBound () {
189
189
return getValidTo (Long .class ) != null ;
190
190
}
191
191
0 commit comments