File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed
server/src/main/java/org/opensearch/common Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -275,6 +275,14 @@ public DateTimeUnit unit() {
275
275
return null ;
276
276
}
277
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
+
278
286
/**
279
287
* A strategy for rounding milliseconds since epoch.
280
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
- */
1437
- public abstract boolean isUTC ();
1438
1440
}
You can’t perform that action at this time.
0 commit comments