Found 104 packages
Provides the fundamental primitives, classes and base classes that define commonly-used value and reference data types, events and event handlers, interfaces, attributes, and exceptions. This packages represents the core package, and provides the minimal set of types required to build a managed application. Commonly Used Types: System.Object System.Exception System.Int16 System.Int32 System.Int64 System.Enum System.String System.Char System.Boolean System.SByte System.Byte System.DateTime System.DateTimeOffset System.Single System.Double System.UInt16 System.UInt32 System.UInt64 System.IDisposable System.Uri When using NuGet 3.x this package requires at least version 3.4.
Provides classes that define culture-related information, including language, country/region, calendars in use, format patterns for dates, currency, and numbers, and sort order for strings. Commonly Used Types: System.Globalization.DateTimeFormatInfo System.Globalization.CultureInfo System.Globalization.NumberFormatInfo System.Globalization.CalendarWeekRule System.Globalization.TextInfo System.Globalization.Calendar System.Globalization.CompareInfo System.Globalization.CompareOptions System.Globalization.UnicodeCategory When using NuGet 3.x this package requires at least version 3.4.
Internal implementation package not meant for direct consumption. Please do not reference directly. Provides the fundamental primitives, classes and base classes that define commonly-used value and reference data types, events and event handlers, interfaces, attributes, and exceptions. This packages represents the core package, and provides the minimal set of types required to build a managed application. Commonly Used Types: System.Object System.Exception System.Int16 System.Int32 System.Int64 System.Enum System.String System.Char System.Boolean System.SByte System.Byte System.DateTime System.DateTimeOffset System.Single System.Double System.UInt16 System.UInt32 System.UInt64 System.IDisposable System.Uri When using NuGet 3.x this package requires at least version 3.4.
Internal implementation package not meant for direct consumption. Please do not reference directly. Provides classes that define culture-related information, including language, country/region, calendars in use, format patterns for dates, currency, and numbers, and sort order for strings. Commonly Used Types: System.Globalization.DateTimeFormatInfo System.Globalization.CultureInfo System.Globalization.NumberFormatInfo System.Globalization.CalendarWeekRule System.Globalization.TextInfo System.Globalization.Calendar System.Globalization.CompareInfo System.Globalization.CompareOptions System.Globalization.UnicodeCategory When using NuGet 3.x this package requires at least version 3.4.
Several Handlebars.Net helpers in the categories: 'Boolean', 'Constants', 'DateTime', 'Path', 'Enumerable', 'Environment', 'Math', 'Regex', 'String' and 'Urls'.
Internal implementation package not meant for direct consumption. Please do not reference directly. Provides the fundamental primitives, classes and base classes that define commonly-used value and reference data types, events and event handlers, interfaces, attributes, and exceptions. This packages represents the core package, and provides the minimal set of types required to build a managed application. Commonly Used Types: System.Object System.Exception System.Int16 System.Int32 System.Int64 System.Enum System.String System.Char System.Boolean System.SByte System.Byte System.DateTime System.DateTimeOffset System.Single System.Double System.UInt16 System.UInt32 System.UInt64 System.IDisposable System.Uri When using NuGet 3.x this package requires at least version 3.4.
Internal implementation package not meant for direct consumption. Please do not reference directly. Provides classes that define culture-related information, including language, country/region, calendars in use, format patterns for dates, currency, and numbers, and sort order for strings. Commonly Used Types: System.Globalization.DateTimeFormatInfo System.Globalization.CultureInfo System.Globalization.NumberFormatInfo System.Globalization.CalendarWeekRule System.Globalization.TextInfo System.Globalization.Calendar System.Globalization.CompareInfo System.Globalization.CompareOptions System.Globalization.UnicodeCategory When using NuGet 3.x this package requires at least version 3.4.
DateOnly and TimeOnly types for .NET versions before 6.0
This project is a merge of several common DateTime operations on the form of extensions to System.DateTime, including natural date difference text (precise and human rounded), holidays and working days calculations on several culture locales. Feedback will be much appreciated.
This package is a SmartFormat extension for formatting System.DateTime, System.DateTimeOffset and System.TimeSpan types. SmartFormat is a lightweight text templating library written in C#. It can format various data sources into a string with a minimal, intuitive syntax similar to string.Format. It uses extensions to provide named placeholders, localization, pluralization, gender conjugation, and list and time formatting.
This dll contains a class named PersianDateTime which persian developers can use instead of System.DateTime structure. This class also contains most of the methods and properties of the conventional DateTime structure such as DateTime.Now and DateTime.TimeOfDay.
Macross Software Json extensions library. Provides helpers & converters for the System.Text.Json API and push stream types for the System.Net.Http API. Commonly Used Types: System.Text.Json.Utf8JsonStreamReader System.Text.Json.Serialization.JsonStringEnumMemberConverter System.Text.Json.Serialization.JsonMicrosoftDateTimeConverter System.Text.Json.Serialization.JsonMicrosoftDateTimeOffsetConverter System.Text.Json.Serialization.JsonIPAddressConverter System.Text.Json.Serialization.JsonIPEndPointConverter System.Text.Json.Serialization.JsonDelegatedStringConverter System.Text.Json.Serialization.JsonTypeConverterAdapter System.Net.Http.PushStreamContent System.Net.Http.PushStreamContent<T>
A library aimed at adding in some relevant functionality as seen in moment.js that is missing in the System.DateTime construct
Configure Asp.Net Core and swagger to use NodaTime types. # Benefits of MicroElements.Swashbuckle.NodaTime - Supports Swashbuckle 5, net core 3 and brand new System.Text.Json - Implemented in c#, no FSharp.Core lib in dependencies - NamingStrategy support. You can use DefaultNamingStrategy, CamelCaseNamingStrategy or SnakeCaseNamingStrategy - Supports DateInterval - Can be generated with user provided examples or without examples
Provides conversion of DateTime and DateTimeOffset into an epoch-relative number value (total seconds). See Unix Epoch in Wikipedia for more information on why this might be needed. Typical uses include using this simplified representation as an expiration time for a token, password or verification code.
An extension for System.DateTime to handle DateTimeRanges more efficiently. With this package, you will be able to enumerate DateTimeRanges and check if a date is inside a range.
This source-only package provides an abstraction for System.DateTime that is mockable
DateOnly and TimeOnly types for .NET versions before 6.0
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.
A library of fluent utility extensions for System.DateTime