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

Native support for java.time API

    XMLWordPrintableJSON

Details

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • Codecs
    • None

    Description

      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

      Attachments

        Activity

          People

            Unassigned Unassigned
            ashni.mehta@mongodb.com Ashni Mehta
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: