|
|
|
Date Posted: |
December 13th, 2001
|
|
|
Last Updated: |
December 13th, 2001
|
|
|
License: |
BSD/MIT |
|
|
Downloads: |
467 total; 18 recently |
|
|
Page Views: |
7,834 total |
|
|
User Rating: |
awaiting 10 votes |
 |
|
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) |
467 downloads |
|
 |
|
 |
 |
| |
  |
[rating: 10] |
|
 |
Primary Location |
|
|
| Add Additional Location |
 |
|
 |
|
| Source Included |
 |
 |
 |
 |
 |
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.
|
|
 |
 |
|
 |
 |
 |
 |
 |
 |
 |
|
|
 |
 |
 |
| |
Recent Downloads - # 2,420
Total Downloads - # 2,784
Total Views - # 2,524
User Ratings - N/A
|
 |
 |
 |
 |
| |
Class Libraries
Example Code
Misc. Development
|
 |
 |
 |
 |
 |
1. BePodder - 9.80
2. QEMU - 9.68
3. ScummVM - 9.57
4. Jukebox - 9.44
5. Haiku AGP busm... - 9.35
6. cpu_fix - 9.31
7. vim6 - 9.31
8. VNCServer - 9.30
9. Beezer - 9.26
10. HandBrake - 9.25
|
 |
 |
 |
 |
 |
1. Ati Radeon G... - 32,870
2. BeOS 5 Perso... - 32,437
3. Realtek RTL8... - 20,348
4. Ensoniq Audi... - 17,685
5. USB Joystick... - 16,549
6. BePDF - 15,344
7. ATI Rage 128... - 13,353
8. S3 Trio 64 v... - 10,302
9. VLC Media Pla... - 9,521
10. DOSBox - 9,457
|
 |
 |
 |
 |
| You are not logged in.
Login
|
 |
 |
 |
 |
|