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() {
275275 return null ;
276276 }
277277
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+
278286 /**
279287 * A strategy for rounding milliseconds since epoch.
280288 *
@@ -1429,10 +1437,4 @@ public static OptionalLong getInterval(Rounding rounding) {
14291437
14301438 return OptionalLong .of (interval );
14311439 }
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 ();
14381440}
You can’t perform that action at this time.
0 commit comments