Class FastIntervalStringFormatter
java.lang.Object
org.apache.druid.java.util.common.FastIntervalStringFormatter
-
Method Summary
-
Method Details
-
format
Tries to use optimised format if the interval is within [2000-03-01T00:00:00.000Z, 2400-02-29T23:59:59.999Z]. Will fall back toAbstractInterval.toString()if the interval is not within the range or not in UTC timezone.- Parameters:
interval- The interval to convert to a string.- Returns:
- A string representation of the interval.
-