4 ms·
Looks very similar to Java Joda time, released in 2005 (later adopted as java.time package).
by deepsun 2y ago
Looks very similar to Java Joda time, released in 2005 (later adopted as java.time package).
- poikroequ 2y agoI get the same impression. Not identical but the whole temporal API seems heavily influenced by Java. Having worked with dates and times in both Java and JavaScript, I'm very happy with what I see in the temporal API. Huge improvement.
- derriz 2y agoEvery language should just copy Joda time's API. It nailed it.
- yas_hmaheshwari 2y agoI also came down to say the same thing -- Joda's library was the best library to deal with date & time ( Now with all the changes copied to the standard library, I haven't used that library in years )
- JasonSage 2y agoAgree! And I like no longer having to use js-joda to support these types :)
- Macha 2y agoIMO, the pattern that Joda popularised is the most robust option for managing dates we've seen so far. If I'm evaluating date/time libraries in a language I'm not used to, ones that looks like their authors have looked at and understood the API of Joda or derivatives are going to be strong leaders.