TimeZoneConverter.Posix 5.0.0

dotnet add package TimeZoneConverter.Posix --version 5.0.0                
NuGet\Install-Package TimeZoneConverter.Posix -Version 5.0.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="TimeZoneConverter.Posix" Version="5.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add TimeZoneConverter.Posix --version 5.0.0                
#r "nuget: TimeZoneConverter.Posix, 5.0.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install TimeZoneConverter.Posix as a Cake Addin
#addin nuget:?package=TimeZoneConverter.Posix&version=5.0.0

// Install TimeZoneConverter.Posix as a Cake Tool
#tool nuget:?package=TimeZoneConverter.Posix&version=5.0.0                

TimeZoneConverter.Posix NuGet Version


TimeZoneConverter.Posix generates POSIX time zone strings from standard time zone identifiers. POSIX time zones are useful in certain scenarios where time zone data is not present, such as when working with IoT devices.

It is a separate helper library that is maintained in the same repository as TimeZoneConverter. You only need it if you require support for POSIX time zones.

Note that TimeZoneConverter.Posix is dependendent on both TimeZoneConverter and Noda Time at run time.

Installation

  • Add the TimeZoneConverter.Posix NuGet package to your project.
  • Import the TimeZoneConverter.Posix namespace where needed.

Compatibility

As of version 4.0.0, TimeZoneConverter.Posix works with all of the following:

  • .NET 5 or greater
  • .NET Core 2.0 or greater
  • .NET Framework 4.6.2 and greater

.NET Framework versions less than 4.6.2 are no longer supported.

Example Usage

Generate a POSIX time zone string from a Windows time zone ID.

string posix = PosixTimeZone.FromWindowsTimeZoneId("Eastern Standard Time");
// Result: "EST5EDT,M3.2.0,M11.1.0"

Generate a POSIX time zone string from an IANA time zone name.

string posix = PosixTimeZone.FromIanaTimeZoneName("Australia/Sydney");
// Result: "AEST-10AEDT,M10.1.0,M4.1.0/3"

Generate a POSIX time zone string from a TimeZoneInfo object.

string posix = PosixTimeZone.FromTimeZoneInfo(TimeZoneInfo.Local);

License

This library is provided free of charge, under the terms of the MIT license.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  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.  net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 is compatible.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on TimeZoneConverter.Posix:

Package Downloads
Frank.Libraries.Time

A better injectable time, and include "Frank Time" a week-based calendar concept (Beta)

Neon.Api

Package Description

GitHub repositories (2)

Showing the top 2 popular GitHub repositories that depend on TimeZoneConverter.Posix:

Repository Stars
LGouellec/streamiz
.NET Stream Processing Library for Apache Kafka 🚀
emmauss/Ryujinx
Experimental Switch emulator written in C#
Version Downloads Last updated
5.0.0 211 1/16/2025
4.1.0 228,924 2/12/2023
4.0.0 154,202 9/3/2022
3.0.1 254,594 1/13/2022
3.0.0 1,040 1/11/2022
2.3.0 185,180 4/8/2021
2.2.0 263,433 9/10/2020
2.1.0 370,552 4/24/2019
2.0.0 1,891 3/19/2019
1.0.0 37,546 12/21/2018