Found 132 packages
A small library to handle ISO8601 durations (e.g. P1Y for 1 year, PT2H30M for 2 hours and 30 minutes) in C#.
Tracks execution time of code within a using statement.
The library provides support for capturing: Gauges, Counters, Meters, Histograms and Timers
Adds Duration units for Units.NET on .NET nanoFramework. For .NET or .NET Core, use UnitsNet instead.
Normalizes a Duration Pattern. Converts a Duration Pattern into a TimeSpan or DurationStruct. Converts a DurationStruct into a TimeSpan or Duration Pattern. Converts a TimeSpan into a DurationStruct or Duration Pattern. Works with a DurationStruct easily instead of use TimeSpan that not covers Years and Months.
Google Places, Maps, Roads, Search and Translate. Requests and Responses are complete with Google api documentation and references.
Get video information for .NET (wrapper for ffprobe tool). Provides details about file media streams: format, codecs, video resolution and frame rate, duration, custom tags etc. NReco.VideoInfo nuget can be used for free in non-SaaS apps that have only one single-server production deployment. This nuget package includes ffprobe.exe (it is extracted on the first use automatically - you don't need to deploy ffprobe separately) and therefore can be used only on Windows. For cross-platform deployments NReco.VideoInfo.LT nuget should be used instead. How to use: var ffProbe = new NReco.VideoInfo.FFProbe(); var videoInfo = ffProbe.GetMediaInfo(pathToVideoFileOrUrl); Console.WriteLine(videoInfo.FormatName); Console.WriteLine(videoInfo.Duration); More info and online demo: https://www.nrecosite.com/video_info_net.aspx
The library provides support for integrating Owin with the Metrics.NET Library
Provides components to build a buffer-backed channel that flushes batches of data in a controlled (Max N || Max Duration) manner.
Duration parser which return a timespan
It is well known that DateTime.Now is often used inappropriately. For example, it may be used together with TimeSpan to produce a task's timeout point or subtracted from another DateTime to calculate a duration. This can cause subtle bugs because DateTime is not monotonic: the system clock can change, making the result of the subtraction inaccurate -- potentially causing a premature timeout or an infinite loop. Yet, DateTime is an incredibly convenient and widely used value type in .NET code and is especially useful when printed in ISO-8601 format (with the "O" format specifier). With the "O" specifier, you can resolution down to tenths of a microsecond, which is nice. Until you learn that the resolution of the system clock is usually more coarse than several *milliseconds*, making the additional decimal places misleading garbage values. For calculating durations (time between events), it is better to use a high-resolution and monotonic clock like that provided by System.Diagnostics.Stopwatch: on most computers it is far more **accurate** than DateTime.Now even though, seemingly paradoxically, on a few systems, its *resolution* is lower than that of DateTime. Also, unsurprisingly, Stopwatch does not provide values that correlate to times of day: while it is appropriate for calculating durations, it is inappropriate for timestamping against a readable date and time. This library provides timestamps (both as DateTime and as analogous value types it defines) that use the Stopwatch (and your system's high peformance event counter) as its clock, but returns values as DateTimes or an analog thereto so that these values can be used for a mixed purpose of timestamping and providing a meaningful way to calculate time elapsed between events or to calculate how long to perform a programmatic task.
Get video information for .NET (wrapper for ffprobe tool). Provides details about file media streams: format, codecs, video resolution and frame rate, duration, custom tags etc. This LT-version nuget package does NOT include ffprobe.exe and is suitable for cross-platform deployments (Windows, Linux/Docker, Mac-OS) or using a ffprobe build/version of your choice. NReco.VideoInfo.LT nuget can be used for free in non-SaaS apps that have only one single-server production deployment. How to use: var ffProbe = new NReco.VideoInfo.FFProbe(); ffProbe.FFProbeExeName = "ffprobe.exe"; // just "ffprobe" for Linux/OS-X ffProbe.ToolPath = "<path_to_folder_with_ffprobe>"; var videoInfo = ffProbe.GetMediaInfo(pathToVideoFile); More info and online demo: https://www.nrecosite.com/video_info_net.aspx
A .NET library to get duration of a video from its URL. Supports MP4, HLS (VOD), YouTube and Twitch (if you provide API keys), Vimeo, Dailymotion, and SoundCloud.
Provides managed equivalents of Extensible Application Markup Language (XAML) UI types from Windows Runtime. Commonly Used Types: Windows.UI.Xaml.CornerRadius Windows.UI.Xaml.Duration Windows.UI.Xaml.DurationType Windows.UI.Xaml.GridLength Windows.UI.Xaml.GridUnitType Windows.UI.Xaml.Thickness Windows.UI.Xaml.Media.Matrix Windows.UI.Xaml.Media.Animation.KeyTime Windows.UI.Xaml.Media.Animation.RepeatBehavior Windows.UI.Xaml.Media.Animation.RepeatBehaviorType Windows.UI.Xaml.Media.Media3D.Matrix3D When using NuGet 3.x this package requires at least version 3.4.
This library provides support for InfluxDB reporters in the Metrics.NET monitoring and reporting library. Supports InfluxDB Line Protocol for InfluxDB v0.9.1 and above, and JSON Protocol for InfluxDB v0.9.1 and below.
Format Duration (format-duration) binding library for Bridge.NET projects.
Multiple extension methods to handle and calculate date and time based data
Library to extend the functionality of the TimeSpan structure to be comparable, serializable, and convertible. It also supports localized string formatting and parsing so a TimeSpan can be represented by something like "3 days, 2 hours, 19 minutes" instead of "3:02:19:00".
A C# library to detect the duration of a video, given its URL
Moment Duration Format (moment-duration-format) binding library for Bridge.NET projects.