Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-47709

Add function to coerce numbers to Duration types

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.9.0
    • None
    • Fully Compatible
    • Service arch 2020-05-04, Service arch 2020-05-18, Service arch 2020-12-28, Service Arch 2021-02-08

    Description

      Our Duration types expect signed integral types upon construction. However, occasionally, our time data is in double or unsigned integer form. We should make functions to intentionally coerce these numbers into durations.

      Attachments

        Activity

          People

            billy.donahue@mongodb.com Billy Donahue
            ben.caimano@mongodb.com Benjamin Caimano (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: