[haiku-development] Re: Fwd: [haiku-commits] haiku: hrev46240 - src/kits/network/libnetapi headers/os/net

  • From: Adrien Destugues <pulkomandy@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Thu, 17 Oct 2013 11:28:01 +0200

> I started working on a patch to add the AddXyz() functions to BDateTime
> itself so that the overflow/underflow could be handled appropriately rather
> than using the workaround above, but overall the current API seems a bit
> too basic.
> 
> So instead, I'd like to try porting noda-time to the Haiku API to replace
> the current date/time classes in the support kit.

Said it over IRC already, but for ML archives purposes: whatever API we 
decide to go with, please use ICU Calendar class as a backend. We already 
embed ICU in the system and they already get all the date-math right. No 
need to write an implementation from scratch.

-- 
Adrien.

Other related posts: