Bsb.Services.TimeZoneLookupService 1.0.0

This service allows user to lookup time zone by zip code or geo location and covert time zone between windows and IANA format

Install-Package Bsb.Services.TimeZoneLookupService -Version 1.0.0
dotnet add package Bsb.Services.TimeZoneLookupService --version 1.0.0
<PackageReference Include="Bsb.Services.TimeZoneLookupService" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Bsb.Services.TimeZoneLookupService --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

##Bsb.Services.TimeZoneLookupService

Description


TimeZoneLookupService is a simple stand alone service that allows user to lookup time zone by Geo location, Zip Code. It also allows user to convert Windows time zone format to IANA format and vice versa.

Usage


ITimeZoneService timeZoneLookupService = new TimeZoneService();

// Time zone by Geo location
var timeZone = timeZoneLookupService.GetTimeZoneIdByLocation(33.4483757019, -112.0740356445);

// Time zone by zip code
timeZone = timeZoneLookupService.GetTimeZoneByZipCode("30044");

// Windows to IANA format
timeZone = timeZoneLookupService.ConvertWindowsTimeZoneToIANATimeZone("Eastern Standard Time");

// IANA to Windows format
timeZone = timeZoneLookupService.ConvertIANATimeZoneToWindowsTimeZone("America/New_York");

##Bsb.Services.TimeZoneLookupService

Description


TimeZoneLookupService is a simple stand alone service that allows user to lookup time zone by Geo location, Zip Code. It also allows user to convert Windows time zone format to IANA format and vice versa.

Usage


ITimeZoneService timeZoneLookupService = new TimeZoneService();

// Time zone by Geo location
var timeZone = timeZoneLookupService.GetTimeZoneIdByLocation(33.4483757019, -112.0740356445);

// Time zone by zip code
timeZone = timeZoneLookupService.GetTimeZoneByZipCode("30044");

// Windows to IANA format
timeZone = timeZoneLookupService.ConvertWindowsTimeZoneToIANATimeZone("Eastern Standard Time");

// IANA to Windows format
timeZone = timeZoneLookupService.ConvertIANATimeZoneToWindowsTimeZone("America/New_York");

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.0.0 2,986 8/31/2018