Uh oh!
There was an error while loading. Please reload this page.
Fix documentation issues in recent DateTime API additions - #68019
Conversation
The microseconds parameter accepts 0-999, not 0-900.
ghost
commented
Apr 14, 2022
I couldn't figure out the best area label to add to this PR. If you have write-permissions please help me learn by adding exactly one area label. |
ghost
commented
Apr 14, 2022
Tagging subscribers to this area: @dotnet/area-system-runtime Issue DetailsThe microseconds parameter accepts 0-999, not 0-900. This was likely a copy/paste mistake from nanoseconds in #67666
|
deeprobin
commented
Apr 14, 2022
I thought it accepts 0-999 but is has only a precision of 100ns. Is using 901 throwing an exception, if yes this PR lgtm. |
danmoseley
commented
Apr 14, 2022
Right, but if you supply 999us the math will round it. |
deeprobin
left a comment
There was a problem hiding this comment.
Thank you for this fix 👍🏼.
This LGTM.
The microseconds parameter accepts 0-999, not 0-900. This was likely a copy/paste mistake from nanoseconds in #67666
/cc @tarekgh@deeprobin