How to make a unit test for a C# DateTime related function timezone independent?

后端 未结 0 1643
轮回少年
轮回少年 2021-02-20 15:05

This unit test shall test a datetime string conversion method for an error, when parsing a (near) max value 9999-12-31T23:59:59Z, in a timezone positive from UTC, e.g.

相关标签:
回答
  • 消灭零回复
提交回复
热议问题