TimeString is a Custom Class of the Magic User Interface © by Stefan Stuntz.
It's a subclass of string-class and time-class.
The idea of this class was born during developing my Gregor application.
MUI public custom class that displaying a string gadget for time strings. The
display format of the time string can be freely defined. An input string can be
parsed by the given format string, or in various standard formates (see below).
TimeString.mcc features that are of interest for users:
- Can be dragged around
- Accepts drops of other Time.mcc objects and time-strings
- Handles daylight savings time
- Handles time zones
- Supports 12h and 24h clocks
- Supports various string formats
TimeString.mcc features of interest for developers:
- Based on Time.mcc
- Supports MUIM_Import and MUIM_Export
- The time can be read in hour/minutes/seconds format or as seconds from
midnight on
- The time range can be restricted - so the user can only input time that
lies within his/her working time
- It's possible to notify a Date.mcc object when the next or previous day
was reached
- Method to set the current time
- Methods for increasing and decreasing the time
- Method to compare with another time object
IMPORTANT NOTE:
This package may not be included on any further Aminet CD-ROMs unless authors
contributing their software to the CD-ROM, (without mentioning distribution
"NoCD") are granted a copy of the CD *completely* *free* *of* *charge*.
The Meeting Pearls IV CD-ROM demonstrates that a Freebie policy is also
possible with "very-low-budget" CD-ROMs (*), so Aminet should quickly
re-establish the same Freebie policy it used up to Aminet CD 13.
(*) Suggested retail price for MP4 is DM 14,95/US$ 12/£ 8.95.
|