Class DateTimes.UtcFormatter
- java.lang.Object
-
- org.apache.druid.java.util.common.DateTimes.UtcFormatter
-
- Enclosing class:
- DateTimes
public static class DateTimes.UtcFormatter extends Object
Simple wrapper class to enforce UTC Chronology in formatter. Specifically, it will useDateTimeFormatter.withChronology(Chronology)to set the chronology toISOChronology.getInstanceUTC()on the wrappedDateTimeFormatter.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.joda.time.DateTimeparse(String instant)Stringprint(org.joda.time.DateTime instant)
-