[CSHARP-372] BsonUtils ToDateTimeFromMillisecondsSinceEpoch and ToMillisecondsSinceEpoch should special case DateTime.MinValue Created: 29/Dec/11  Updated: 02/Apr/15  Resolved: 03/Jan/12

Status: Closed
Project: C# Driver
Component/s: None
Affects Version/s: 1.3.1
Fix Version/s: 1.4

Type: Improvement Priority: Trivial - P5
Reporter: Sridhar Nanjundeswaran Assignee: Sridhar Nanjundeswaran
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Similar to DateTime.MaxValue they should also special case DateTime.MinValue



 Comments   
Comment by Sridhar Nanjundeswaran [ 03/Jan/12 ]

Special casing not needed for min value. Added unit test to check.

Comment by Robert Stam [ 29/Dec/11 ]

See comment I added to CSHARP-371.

If the approach suggested in that comment is adopted then this ticket is moot.

Generated at Wed Feb 07 21:36:38 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.