[haiku-development] Re: [PATCH] Add microsecond resolution to BTime

  • From: "Rene Gollent" <anevilyak@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Thu, 9 Oct 2008 18:01:15 -0500

On Thu, Oct 9, 2008 at 5:55 PM, julun <host.haiku@xxxxxx> wrote:
> I had re-based the BTime class to only have a fMilliseconds member, so that
> i could easily add some functions like AddHours(...), AddMinutes(...) etc.
> Now i need to hold and maintain an additional member, since even a bigtime_t
> is not big enough to hold the microseconds per day.

How so? 1 day = 86,400,000,000 usec.
bigtime_t max value = 18,446,744,073,709,551,616 or ~213 million days.

Regards,

Rene

Other related posts: