WCF DateTimeOffset compatibility
问题 I have a .NET WCF service with a few operation contracts that takes a DateTimeOffset. The idea is to avoid any confusion with DST and time zones. However I am in doubt that using DateTimeOffset is a good idea after all, since it is fairly non-standard and would cause headaches for anyone trying to connect with, say, a Java application or a .NET application bound to an older .NET version. An alternative is to expect a UTC DateTime, but this introduces the risk that someone will forget to use