我使用NodaTime獲取TypeInitializationException,但僅在發佈中且僅在設備上發佈。 這裏的堆棧跟蹤: System.TypeInitializationException: The type initializer for 'Patterns' threw an exception. ---> System.TypeInitializationException: T
如在Getting Daylight Savings Time Start and End in NodaTime中回答的夏令時開始和結束日期可在給定年份內解決。 如何獲得計算開始日期和結束日期的實際規則,最好在POSIX time zone format? 項目目前正在使用野田時間,但可以考慮任何其他.NET解決方案。
我正在致力於writing a managed wrapper around Massachusetts Bay Transportation Authority (MBTA) Realtime API。他們有一個返回服務器時間的API,它是unix時間戳(epoch)。在這我實現它的圖書館是PCL Profile 78這意味着我已經限制了BCL的時區支持,所以我採取使用Nodatime 我試圖從