TehGM.Utilities.Time
0.2.2
dotnet add package TehGM.Utilities.Time --version 0.2.2
NuGet\Install-Package TehGM.Utilities.Time -Version 0.2.2
<PackageReference Include="TehGM.Utilities.Time" Version="0.2.2" />
paket add TehGM.Utilities.Time --version 0.2.2
#r "nuget: TehGM.Utilities.Time, 0.2.2"
// Install TehGM.Utilities.Time as a Cake Addin #addin nuget:?package=TehGM.Utilities.Time&version=0.2.2 // Install TehGM.Utilities.Time as a Cake Tool #tool nuget:?package=TehGM.Utilities.Time&version=0.2.2
TehGM's C# Utility Libraries
This solution contains utility libraries that I created to make features easy to re-use in multiple projects.
Work in Progress
This set of libraries is currently Work in Progress - and it might stay in this state indefinitely.
These libraries are designed primarily for personal use, so I do not guarantee that updates don't include breaking changes.
Keep this in mind if upgrading these libraries for any version before 1.0.0
.
Installation
Install TehGM.Utilities
using your NuGet package manager.
Alternatively, you can install selected libraries individually.
Requirements
The library targets .NET Standard 2.0, and therefore works with .NET Core 2.0+, .NET Framework 4.6.1+ and .NET 5+.
Included Libraries
This project currently contains following libraries:
- TehGM.Utilities.UniqueIDs - includes types and methods for generating unique IDs.
- TehGM.Utilities.Logging - includes helpers for logging.
- TehGM.Utilities.Randomization - utilities for generating random values.
- TehGM.Utilities.Time - time conversion and formatting utilities.
- TehGM.Utilities.Validation - type and data validation utilities.
- TehGM.Utilities.Threading - threading and async/await utilities.
- TehGM.Utilities.AspNetCore - general ASP.NET Core utilities.
More libraries might be added as needed, when needed (by me)... or when I feel like it.
JSON.NET Support
Some of the libraries might have an additional package, which extends their functionality by adding JSON.NET support (such as converters).
These libraries need to be installed separately. This is because they depend on Newtonsoft.Json package, which might only pollute projects that don't make use of it
- TehGM.Utilities.Time.JsonNet - JSON.NET support for TehGM.Utilities.Time.
- TehGM.Utilities.UniqueIDs.JsonNet - JSON.NET support for TehGM.Utilities.UniqueIDs.
Contributing
In case you want to report a bug or request a new feature, open a new Issue.
If you want to contribute a patch or update, fork repository, implement the change, and open a pull request.
License
Copyright (c) 2022 TehGM
Licensed under MIT License.
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 is compatible. 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 | 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 was computed. 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. |
-
.NETStandard 2.0
- No dependencies.
-
net7.0
- No dependencies.
NuGet packages (2)
Showing the top 2 NuGet packages that depend on TehGM.Utilities.Time:
Package | Downloads |
---|---|
TehGM.Utilities
Reusable set of utilities for C#. |
|
TehGM.Utilities.Time.JsonNet
JSON.NET support for .NET Utilities for Time conversion and formatting |
GitHub repositories
This package is not used by any popular GitHub repositories.
- Added TypeConverter for UnixTimestamp.
- Implement IParsable and ISpanParsable in UnixTimestamp (.NET7+).