We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d9e82cb commit 7fc3198Copy full SHA for 7fc3198
server/src/main/java/org/opensearch/common/Rounding.java
@@ -275,6 +275,14 @@ public DateTimeUnit unit() {
275
return null;
276
}
277
278
+ /**
279
+ * Helper function for checking if the time zone requested for date histogram
280
+ * aggregation is utc or not
281
+ */
282
+ public boolean isUTC() {
283
+ throw new UnsupportedOperationException();
284
+ }
285
+
286
/**
287
* A strategy for rounding milliseconds since epoch.
288
*
@@ -1429,10 +1437,4 @@ public static OptionalLong getInterval(Rounding rounding) {
1429
1437
1430
1438
return OptionalLong.of(interval);
1431
1439
1432
-
1433
- /**
1434
- * Helper function for checking if the time zone requested for date histogram
1435
- * aggregation is utc or not
1436
- */
- public abstract boolean isUTC();
1440
0 commit comments