TradeWindsDateTime 1.0.0.2
dotnet add package TradeWindsDateTime --version 1.0.0.2
NuGet\Install-Package TradeWindsDateTime -Version 1.0.0.2
<PackageReference Include="TradeWindsDateTime" Version="1.0.0.2" />
paket add TradeWindsDateTime --version 1.0.0.2
#r "nuget: TradeWindsDateTime, 1.0.0.2"
// Install TradeWindsDateTime as a Cake Addin #addin nuget:?package=TradeWindsDateTime&version=1.0.0.2 // Install TradeWindsDateTime as a Cake Tool #tool nuget:?package=TradeWindsDateTime&version=1.0.0.2
TradeWindsDateTime
These are some classes I created for handling the DateTime. The primary class is DateTimeZone which is DateTime+TimeZone.
When working with DateTime across timezones, do not use UTC Offset - that will always bite you in the ass sooner or later. Daylight Savings Time start/end is a political decision and it changes regularly.
The DateTimeZone can be saved in a database as the DateTime & the TimeZoneId (string). Entity Framework handles a DateTimeZone property fine, nothing extra is needed (it saves it as 2 columns).
This is under the MIT license. If you find this useful I ask (not a requirement) that you consider reading my book I DON’T KNOW WHAT I’M DOING!: How a Programmer Became a Successful Startup CEO.
And if you like it, please review it on Amazon and/or GoodReads. The number of legitimate reviews helps a lot. Much appreciated.
NodaTime
If you need significant additional datetime functionality, use nodatime instead of this library. This library is useful if the only additional datetime functionality you need is the DateTimeZone class.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net8.0
- No dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on TradeWindsDateTime:
Package | Downloads |
---|---|
InvitationBuilder
Provides a single object that will create invitations for .ICS, Outlook, Google, etc. |
GitHub repositories
This package is not used by any popular GitHub repositories.