NodaTime
SmartEnum
Our great sponsors
NodaTime | SmartEnum | |
---|---|---|
18 | 7 | |
2,676 | 2,050 | |
2.2% | - | |
8.0 | 8.2 | |
24 days ago | 10 days 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.
-
The counter was reset today, we were almost into the double digits
Do you .NET programmers have a moment to talk about my personal Lord and Savior NodaTime? https://nodatime.org/ There is one datetime library, and Jon Skeet is His messenger.
- Noda Time | Date and time API for .NET
-
How to remove underscore from Enum
Timezone and language support are two different subjects. For time-related issues, Nodatime can help.
- please tell me there's an easier way in angular and c# .net core to handle timezones
-
How to handle time change when storing business hours
it's already been said... https://nodatime.org/
-
Ask HN: Codebases with great, easy to read code?
Noda time is very clean/well written IMO -> https://github.com/nodatime/nodatime
SmartEnum
- Java or C# for backed
-
Is there a "right" way to consolidate constants in C#/.NET?
I agree SmartEnum is my go-to for this
-
best practice to create a method with params of limited values
If we knew more about these methods and what kinds of parameters they take we could maybe make some suggestions. There are some patterns like smart enum that are sometimes just the thing.
-
Smart Enums In C# Like Java
In C# I am not able to add constructors, properties, and methods. although there is a library to do this https://github.com/Ardalis/SmartEnum but wouldn't be nice if we have this feature built-in to C#.
- What is it about C# that you do NOT like compared to other languages?
-
Displaying Enums with custom value
You can use the SmartEnum library.
- C# records can be used to emulate Java's fancy enums.
What are some alternatives?
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.
Enums.NET - Enums.NET is a high-performance type-safe .NET enum utility library
Exceptionless.DateTimeExtensions - DateTimeRange, Business Day and various DateTime, DateTimeOffset, TimeSpan extension methods
SmartAnnotations - A library for .NET that uses source generators to automatically generate data annotations for your models.
UnitsNet - Makes life working with units of measurement just a little bit better.
csharplang - The official repo for the design of the C# programming language
kal - A powerful, easy-to-use, and easy-to-read programming language for the future.
Result - A result abstraction that can be mapped to HTTP response codes if needed.
spiped - Spiped is a utility for creating symmetrically encrypted and authenticated pipes between socket addresses.
.NET Runtime - .NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.