NodaTime
Enums.NET
Our great sponsors
NodaTime | Enums.NET | |
---|---|---|
18 | 4 | |
2,649 | 1,638 | |
1.2% | - | |
8.0 | 3.6 | |
5 days ago | 2 months ago | |
C# | C# | |
Apache License 2.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
NodaTime
-
What your hidden nuget gems ?
Surprised no one mentioned https://github.com/nodatime/nodatime
-
moment.net: call for localization contributions
What does moment.net do better then a combination of (Humanizer)[https://github.com/Humanizr/Humanizer#humanize-datetime] and (NodaTime)[https://nodatime.org/]
- Ask HN: Examples of Top C# Code?
-
JDK 19 released
.NET's DateTime isn't amazing, it's true, but I think there's been some small improvements in that area recently. If you need something more robust, you can always reach for Noda Time.
-
How to handle time change when storing business hours
it's already been said... https://nodatime.org/
Use NodaTime. It's really nice to work with. It allows to store LocalTime (i.e. time of day). And then convert it to ZonedDateTime using some given LocalDate and DateTimeZone, which will adjust correctly for things like daylight savings. You can also easily convert a ZonedDateTime to UTC if needed or an unambiguous Instant which can be converted to any other time zone.
-
Ask HN: Codebases with great, easy to read code?
Noda time is very clean/well written IMO -> https://github.com/nodatime/nodatime
-
Please Put Units in Names
Yeah, before the new DateOnly (and TimeOnly) types, there was no built-in way in C# to specify a plain date. NodaTime[1] (a popular third-party library for datetime operations) did have such types though.
-
What is it about C# that you do NOT like compared to other languages?
But damn, I Just looked that up. It really does look like something I'll be showing the team. Really intuitive. https://nodatime.org/
Enums.NET
-
What is it about C# that you do NOT like compared to other languages?
If you deal with Enums regularly, Enum.NET is a must have: https://github.com/TylerBrinkley/Enums.NET.
What are some alternatives?
FluentValidation - A popular .NET validation library for building strongly-typed validation rules.
CsvHelper - Library to help reading and writing CSV files
SmartEnum - A base class for quickly and easily creating strongly typed enum replacements in C#.
DateTimeExtensions - 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.
Jint - Javascript Interpreter for .NET
Exceptionless.DateTimeExtensions - DateTimeRange, Business Day and various DateTime, DateTimeOffset, TimeSpan extension methods
Mediator.Net - A simple mediator for .Net for sending command, publishing event and request response with pipelines supported
Aeron.NET - Efficient reliable UDP unicast, UDP multicast, and IPC message transport - .NET port of Aeron
Humanizer - Humanizer meets all your .NET needs for manipulating and displaying strings, enums, dates, times, timespans, numbers and quantities
FastEnum - The world fastest enum utilities for C#/.NET
Guard - A high-performance, extensible argument validation library.
ENet-CSharp - Reliable UDP networking library