Is there a ZonedDateTime (Java) in .Net?
问题 The best equivalent I've found is the combination of a DateTimeOffset + TimeZoneInfo. Is that the best approach, create a structure that contains both of these classes and insure they stay consistent? 回答1: No, there is not a built-in type similar to ZonedDateTime in the .NET base class library. As others pointed out, if you're looking for a temporal model similar to Java's Joda Time or java.time , then consider using Noda Time. It has a ZonedDateTime structure. If you don't want to use Noda