You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have been browsing the source of the ConvertFromUriLiteralmethod and the related tests. In the prepared testcases there is this test.
Can someone please explain to me, how come that the expected converted DateTimeOffset value will have a time portion with 8 a.m.? It seems to me that, based on the source of ConvertFromUriLiteral, we are forwarding the values to VerifyAndCoerceUriPrimitiveLiteral and later to CoerceTemporalValue where such a DateTimeOffset value is converted to DateTimeOffset with midnight as the time portion (reference). Thank you for helping me understand!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have been browsing the source of the
ConvertFromUriLiteral
method and the related tests. In the prepared testcases there is this test.Can someone please explain to me, how come that the expected converted DateTimeOffset value will have a time portion with 8 a.m.? It seems to me that, based on the source of
ConvertFromUriLiteral
, we are forwarding the values toVerifyAndCoerceUriPrimitiveLiteral
and later toCoerceTemporalValue
where such a DateTimeOffset value is converted to DateTimeOffset with midnight as the time portion (reference). Thank you for helping me understand!Beta Was this translation helpful? Give feedback.
All reactions