org.threeten.bp.temporal.UnsupportedTemporalTypeException: Unsupported field: InstantSeconds

GitHub | MenoData | 7 months ago
  1. 0

    Generic non-location format for time zones unavailable?

    GitHub | 7 months ago | MenoData
    org.threeten.bp.temporal.UnsupportedTemporalTypeException: Unsupported field: InstantSeconds

    Root Cause Analysis

    1. org.threeten.bp.temporal.UnsupportedTemporalTypeException

      Unsupported field: InstantSeconds

      at org.threeten.bp.LocalDate.get0()
    2. ThreeTen backport
      LocalDateTime.format
      1. org.threeten.bp.LocalDate.get0(LocalDate.java:593)
      2. org.threeten.bp.LocalDate.getLong(LocalDate.java:572)
      3. org.threeten.bp.LocalDateTime.getLong(LocalDateTime.java:628)
      4. org.threeten.bp.format.DateTimePrintContext$1.getLong(DateTimePrintContext.java:181)
      5. org.threeten.bp.format.DateTimeFormatterBuilder$ZoneTextPrinterParser.print(DateTimeFormatterBuilder.java:3370)
      6. org.threeten.bp.format.DateTimeFormatterBuilder$CompositePrinterParser.print(DateTimeFormatterBuilder.java:1995)
      7. org.threeten.bp.format.DateTimeFormatter.formatTo(DateTimeFormatter.java:1385)
      8. org.threeten.bp.format.DateTimeFormatter.format(DateTimeFormatter.java:1359)
      9. org.threeten.bp.chrono.ChronoLocalDateTime.format(ChronoLocalDateTime.java:263)
      10. org.threeten.bp.LocalDateTime.format(LocalDateTime.java:1828)
      10 frames