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

Add function to coerce numbers to Duration types

    • Type: Icon: New Feature New Feature
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.9.0
    • Affects Version/s: None
    • Component/s: None
    • Fully Compatible
    • Service arch 2020-05-04, Service arch 2020-05-18, Service arch 2020-12-28, Service Arch 2021-02-08

      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.

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

              Created:
              Updated:
              Resolved: