Found 90 packages
Provides a set of APIs to process Universal Telemetry Client (UTC) data in Event Tracing for Windows (ETW) traces (.etl files) in .NET. Consider using Microsoft.Windows.EventTracing.Processing.All instead to provide native dependencies and data providers.
Simplified logging, enabled/disabled during runtime. Inspections. Domain objects. Shipping models. Fast thread-safe cache. Cryptographic salted hashes. Enumeration type converter. Validator extensions. Sample data randomizers.
Roslyn Analyzer forcing usage of UTC properties on the DateTime type
A utility library for helpful DateTime related operations
UtcMilliTime for .NET 8.0 + .NET 10+ provides Unix time milliseconds (Int64) timestamps, similar to JavaScript's Date.now(), with cross-platform support and NTP synchronization. Features Task-based async APIs, async Main support, conversion extensions (ToIso8601String, ToUtcDateTime, etc.), and new chaining methods for timestamp manipulations (e.g., AddHours, SubtractDays). Usage: using UtcMilliTime; ITime time = Clock.Time; time.SuppressNetworkCalls = false; // Enable NTP sync var timestamp = time.Now; // Int64 timestamp string iso = timestamp.ToIso8601String(); // ISO-8601 string For async Main: await Clock.CreateAsync(); See https://github.com/JPKusumi/UtcMilliTime for details.
Package Description
A simple abstraction over C#'s DateTime.Now, DateTime.Today and DateTime.UtcNow so you can control these values in your tests.
UTCode decoder and encoder
The library exposes easy to use API for all kind of practical DateTime use cases, Assuming that you have a server running under a specific timezone and clients connecting to it from multiple timezones, And you need to manage incomming and outgoing timezones easily. Like saving UTC in database and displaying on client's timezone on there browser. Or client selecting a time in their timezone and you need to convert it to UTC , Or even you need to migrate a time from one timezone to another. Likewise...
Package Description
Package Description
Library to convert Unix time to UTC time
Provides analyzers for validating that: * Tabs are used for indentation. * Lengths of lines, methods, properties, and files are acceptable. * #regions are used within long files and files that contain multiple types. * Method blocks use a single return. * File names match the names of types they contain. * Preferred exception types are used. * Magic numbers aren't used. * Using directives are indented consistently. * Flags enum members are zero, powers of two, or named member combinations. * UTC times are used. * TryGetValue is used instead of ContainsKey and this[key]. * Preferred terms are used in identifiers.
C# DateTime wrapper for Microsoft.Extensions.DependencyInjection
A library that enforces UTC time handling in .NET applications. Includes UtcSchedule and UtcTimeWindow value types for common scheduling scenarios.
Convert UTC date/time values into country-specific time zones with simple extension methods.
Disables DateTime.Now, in favor of DateTime.UtcNow
A comprehensive and intuitive .NET library for defining, filtering, transforming, and scheduling time periods.
Provides analyzers for validating that: * Tabs are used for indentation. * Lengths of lines, methods, properties, and files are acceptable. * #regions are used within long files and files that contain multiple types. * Method blocks use a single return. * File names match the names of types they contain. * Preferred exception types are used. * Magic numbers aren't used. * Using directives are indented consistently. * Flags enum members are zero, powers of two, or named member combinations. * UTC times are used.
Collection of various enrichers for serilog. Contains enricher for UtcTimestamp, ThreadName, AllocatedMemory, GCxCollectionCount where x is the Generation