[haiku-development] Re: Extending the BTime class

  • From: Stephan Assmus <superstippi@xxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Mon, 12 Jul 2010 20:05:15 +0200

On 2010-07-12 at 18:48:30 [+0200], Axel Dörfler <axeld@xxxxxxxxxxxxxxxx> 
wrote:
> Hi Adrien,
> 
> "Adrien Destugues" <pulkomandy@xxxxxxxxxxxxxxxxx> wrote:
> > These classes are not part of the Be Book, so I guess they are new in
> > Haiku. Is it ok to change them and add something either to convert to
> > a
> > posix time I can use in the locale kit, or even better, a method to
> > render them as localized strings, so that everyone can use localized
> > times easily ? This solution would be more problematic because it
> > would
> > need liblocale.so linked in the application, but it sounds more clean.
> > What do you think about it ?
> 
> BDate, and BTime are currently private extensions (their header
> actually shouldn't be in os/support). Feel free to change them as
> needed.

I've moved them there after I throughroughly worked over their API and 
added archiving support. I considered them fairly complete. Before making 
any changes there, let's please discuss those first to find the best 
solutions. (Like before you think something is missing when it's actually 
already there.)

Best regards,
-Stephan

Other related posts: