Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-4835

Native support for java.time API

    • Type: Icon: New Feature New Feature
    • Resolution: Unresolved
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Codecs
    • None

      This feature request was raised by a user on Community Forums. Copying the request below.

      Can there be native support to ZonedDateTime in MongoDB java Driver sync. Seems it only have LocalDateTime implemented as part of JSR310
      Supported classes are The high level API contains the following key classes:

      1. LocalDate - A date, with no time nor zone-offset
      2. LocalTime - A time, with no date nor zone-offset
      3. LocalDateTime - A date-time, with no zone-offset
      4. OffsetTime - A time and zone-offset, with no date
      5. OffsetDateTime - A date-time and zone-offset
      6. ZonedDateTime - A date-time, zone-offset and time-zone
      7. ZoneOffset - An offset from the time in UTC/GMT
      8. ZoneId - A time-zone identifier, used to find the underlying rules

            Assignee:
            Unassigned Unassigned
            Reporter:
            ashni.mehta@mongodb.com Ashni Mehta (Inactive)
            Votes:
            3 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: