Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8316235

Optimization for DateTimeFormatter::format

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • None
    • core-libs
    • None

      Create on behalf of shaojin.wensj@alibaba-inc.com
      -----
      In many scenarios, DateTimeFormatter::format is a slower operation.

      For example, the following business scenarios

      The json library gson/jackson/fastjson2 formats Instant/LocalDate/LocalTime/LocalDateTime/ZonedDateTim into strings.
      In data integration scenarios, for projects like datax/canal, if the input type is Date/Instant and the output type is String, formatting is required.

            Unassigned Unassigned
            yyang Yi Yang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: