GnssCalc 1.0.1
See the version list below for details.
dotnet add package GnssCalc --version 1.0.1
NuGet\Install-Package GnssCalc -Version 1.0.1
<PackageReference Include="GnssCalc" Version="1.0.1" />
paket add GnssCalc --version 1.0.1
#r "nuget: GnssCalc, 1.0.1"
// Install GnssCalc as a Cake Addin #addin nuget:?package=GnssCalc&version=1.0.1 // Install GnssCalc as a Cake Tool #tool nuget:?package=GnssCalc&version=1.0.1
Welcome to the GnssCal wiki!
How to use it? It's simple
Example 1. Cast from DateTime. Use DateTimeExtension.
using GpsTimeCalc.Extensions;
DateTime existedDateTime = new DateTime(2017, 5, 17);
GpsDate gpsDate = existedDateTime.ToGpsTime(); \\ It return GpsDate(weeks: 1949, dayOfweek: 3)
BdsDate bdsDate = existedDateTime.ToBdsTime(); \\ It return BdsDate(weeks: 593, dayOfweek: 3)
YearDoY yearDoY = existedDateTime.ToYearDoY(); \\ It return YearDoY(year: 2017, dayOfyear: 137)
Example 2. Cast from gnssTime types. Explicit cast.
GpsDate gpsDate = new GpsDate(1949, 3);
BdsDate bdsDate = (BdsDate)gpsDate; \\ It return BdsDate(weeks: 593, dayOfweek: 3)
YearDoY yearDoY = (YearDoY)gpsDate; \\ It return YearDoY(year: 2017, dayOfyear: 137)
DateTime dateTime = (DateTime)gpsDate; \\ It return DateTime(2017, 5, 17)
Example 2. Cast from gnssTime types. Cast with extension method
using GpsTimeCalc.Extensions;
GpsDate gpsDate = new GpsDate(1949, 3);
BdsDate bdsDate = gpsDate.ToBdsDate(); \\ It return BdsDate(weeks: 593, dayOfweek: 3)
YearDoY yearDoY = gpsDate.ToYearDoY(); \\ It return YearDoY(year: 2017, dayOfyear: 137)
DateTime dateTime = gpsDate.ToDateTime(); \\ It return DateTime(2017, 5, 17)
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. 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 was computed. 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. |
.NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.1 is compatible. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.1
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.