Class DateTimes.UtcFormatter

  • Enclosing class:
    DateTimes

    public static class DateTimes.UtcFormatter
    extends Object
    Simple wrapper class to enforce UTC Chronology in formatter. Specifically, it will use DateTimeFormatter.withChronology(Chronology) to set the chronology to ISOChronology.getInstanceUTC() on the wrapped DateTimeFormatter.
    • Method Detail

      • parse

        public org.joda.time.DateTime parse​(String instant)
      • print

        public String print​(org.joda.time.DateTime instant)