NodaTime
spiped
Our great sponsors
NodaTime | spiped | |
---|---|---|
18 | 5 | |
2,649 | 822 | |
1.4% | 0.1% | |
8.0 | 7.6 | |
6 days ago | 19 days ago | |
C# | C | |
Apache License 2.0 | GNU General Public License v3.0 or later |
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/
spiped
- Self-hosting in 2023: Nextcloud on Linode, or _?_ on _?_?
-
Ask HN: Codebases with great, easy to read code?
In past threads, people have mentioned enjoying my Tarsnap (https://github.com/Tarsnap/tarsnap) code. I personally think that the spiped (https://github.com/Tarsnap/spiped) code is even better.
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.
Exceptionless.DateTimeExtensions - DateTimeRange, Business Day and various DateTime, DateTimeOffset, TimeSpan extension methods
UnitsNet - Makes life working with units of measurement just a little bit better.
Enums.NET - Enums.NET is a high-performance type-safe .NET enum utility library
kal - A powerful, easy-to-use, and easy-to-read programming language for the future.
mp-units - The quantities and units library for C++
ILSpy - .NET Decompiler with support for PDB generation, ReadyToRun, Metadata (&more) - cross-platform!
SmartEnum - A base class for quickly and easily creating strongly typed enum replacements in C#.
TodoApi - Todo application with ASP.NET Core Blazor WASM, Minimal APIs and Authentication
Django - The Web framework for perfectionists with deadlines.
moment.net - Basically as much of a dot net port of moment.js as necessary
LINQKit - LINQKit is a free set of extensions for LINQ to SQL and Entity Framework power users.