TJC.TimeExtensions
0.2.2
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package TJC.TimeExtensions --version 0.2.2
NuGet\Install-Package TJC.TimeExtensions -Version 0.2.2
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="TJC.TimeExtensions" Version="0.2.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="TJC.TimeExtensions" Version="0.2.2" />
<PackageReference Include="TJC.TimeExtensions" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add TJC.TimeExtensions --version 0.2.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: TJC.TimeExtensions, 0.2.2"
#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.
#:package TJC.TimeExtensions@0.2.2
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=TJC.TimeExtensions&version=0.2.2
#tool nuget:?package=TJC.TimeExtensions&version=0.2.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Elapsed Time
string TimeSpan.GetElapsedTime(int significantFigures = 2, bool useLongName = false, bool nanosecondsNoDecimals = true)
- Extensions for
TimeSpanthat returns the elapsed time in a human readable format.
| 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. net9.0 was computed. 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. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net8.0
- TJC.StringExtensions (>= 0.2.0)
NuGet packages (3)
Showing the top 3 NuGet packages that depend on TJC.TimeExtensions:
| Package | Downloads |
|---|---|
|
TJC.Collection.Core
Collection of NuGet Packages |
|
|
TJC.Logging
Logging |
|
|
TJC.ConsoleApplication
Console Application Utilities |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.4.8 | 1,286 | 4/15/2025 |
| 0.4.7 | 271 | 1/3/2025 |
| 0.4.6 | 229 | 12/3/2024 |
| 0.4.5 | 184 | 12/3/2024 |
| 0.4.4 | 179 | 12/3/2024 |
| 0.4.3 | 2,336 | 11/15/2024 |
| 0.4.2 | 162 | 11/10/2024 |
| 0.4.1 | 166 | 11/5/2024 |
| 0.4.0 | 152 | 11/5/2024 |
| 0.3.1 | 3,122 | 10/26/2024 |
| 0.3.0 | 1,946 | 10/20/2024 |
| 0.2.2 | 608 | 10/20/2024 |
| 0.2.1 | 703 | 10/16/2024 |
| 0.2.0 | 737 | 10/10/2024 |
| 0.1.6 | 2,245 | 10/2/2024 |
| 0.1.5 | 166 | 9/29/2024 |
| 0.1.4 | 1,259 | 9/5/2024 |
| 0.1.3 | 528 | 9/5/2024 |
| 0.1.2 | 843 | 9/4/2024 |
| 0.1.1 | 203 | 9/3/2024 |
| 0.1.0 | 894 | 7/22/2024 |