Date Below 1970 is returning Long Rather than Date

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Unknown
    • None
    • Affects Version/s: 5.1.2
    • Component/s: None
    • None
    • Java Drivers
    • None
    • None
    • None
    • None
    • None
    • None

      issue In File :
      bson/src/main/org/bson/json/RelaxedExtendedJsonDateTimeConverter.java;
       
      suggested Fix :
      can  if (value < 0 || value > LAST_MS_OF_YEAR_9999)  be changed to  
          if (value < -62167219200000L || value > LAST_MS_OF_YEAR_9999)  so it can support till 0000-01-01 

            Assignee:
            Ross Lawley
            Reporter:
            Sai Kishore
            None
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: