BeBits Information Developer Central Submit Application Your Account Web Links Contact Us
BeBits
Please support our sponsors!
ClockTime Class
version 1.0
contact publisher
home page
screenshots
version history
other reviews
send updates for this application
talkback
0 comments
 Published by Kevin H. Patterson
   Click here for more information about this publisher...
 Date Posted:   December 13th, 2001
 Last Updated:   December 13th, 2001
 License: BSD/MIT
 Downloads: 445 total; 1 recently
 Page Views: 6,300 total
 User Rating: awaiting 10 votes Give this application a rating
 Jump to the Downloads section
About ClockTime Class:
A class for converting time into days, hours, minutes, seconds, etc. Can also generate a BString containing the properly formatted time.

Converts "bigtime_t" (1/1000000sec) time measurements into "Clock Time". Time can be converted to total days, total hours, or total minutes, etc.

"Time parts" can be retrieved, as in <days>:<hours>:<minutes>:<seconds>.<fractionals>.

String formatting options include whether or not to include digits to the left or right of the decimal point (fractions of a second), the number of (zero-padded) decimal places you want, etc.

You can also choose to display fractions of a second (the right-hand side of the decimal point) in any number "fractional" parts that you want. For instance, you could choose 10ths of a second, 100ths of a second, or 30ths of a second.

Very handy, very clean, and can handle VERY LARGE and VERY SMALL time measurements. Very cool.
Latest Version
   
Details about this version:
First public release.

WARNING: There is a calculation bug in a few of the time conversion functions. This will be fixed shortly, in a new release. You have been warned. :)

Supports:
bigtime_t to Total Days, Total Hours, Total Minutes, etc.
bigtime_t to Days "Part", Hours "Part", Minutes "Part", etc.
bigtime_t to Formatted Text (BString).
Fractional seconds "fraction" is selectable.
Several useful string-formatting options.

DOES NOT (YET) SUPPORT Formatted Text input (Formatted Text to bigtime_t)... coming soon.

Not terribly efficient, but not too slow either. :)

 
Any Processor - requires R5   (4 KB) 445 downloads
 
 
Dev LinkLink reliability rating  [rating: 10]    Download this app  Report bad link Primary Location
 
Add Additional Location
  Source Included
 
Post your own comment to the Talkback for this application!
Report a problem with the listing for this application!
Like this app? Have questions or comments?
Why not tell the author? Use the "e-mail publisher" link to get in touch with the publisher; they usually love getting feedback.
 
BeGroovy
  Recent Downloads  -  # 760
Total Downloads  -  # 2,778
Total Views  -  # 2,516
User Ratings  -  N/A
  Class Libraries
Example Code
Misc. Development
1.  QEMU - 9.62
2.  ScummVM - 9.50
3.  cpu_fix - 9.42
4.  Jukebox - 9.36
5.  Haiku AGP busm... - 9.35
6.  vim6 - 9.31
7.  Transmission - 9.27
8.  Beezer - 9.25
9.  BeeF - 9.25
10.  HandBrake - 9.24
1.  Realtek RTL8139... - 242
2.  BeOS 5 Personal... - 214
3.  Ati Radeon Grap... - 163
4.  ATI Rage 128 Pr... - 158
5.  USB Serial driver - 143
6.  Broadcom 440x 1... - 113
7.  Mail Daemon Repl... - 89
8.  Ensoniq AudioPCI... - 87
9.  Intel Extreme Gr... - 83
10.  GNU Packages - 80
You are not logged in.
 Login or create an account...
Hosted by NetConnect

 
Unless otherwise noted, everything is copyright © 1999-2002 Fifth Ace Productions, LLC. All Rights Reserved.
For more legal trivia, take a gander at our
Legal Stuff page and our Privacy Statement.
Fifth Ace Productions