> 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.