DateString is a Custom Class of the Magic User Interface © by Stefan Stuntz.
It's a subclass of string-class and date-class.
The idea of this class was born during developing my Gregor application.
MUI public custom class displaying a string gadget for date strings. The
display format of the date string can be freely defined. An input string can
be parsed by the given format string (see below), or in over 40 known
formats.
DateString.mcc features that are of interest for users:
- Handles years from 8 to 8000
- Supports the Gregorian calendar reform
- Supports drops of other date objects and date-strings
- Can be dragged around
- A week can begin with any weekday
- Supports various string formats via template
- Can autodetect over 40 date-string formats
DateString.mcc features of interest for developers:
- Based on Date.mcc
- Supports MUIM_Import and MUIM_Export
- The date can be read as day/month/year format or as JD or MJD
- The date range can be restricted
- Method to set the current date
- Methods for increasing and decreasing the date
- Method to compare with another date 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.
|