| software | DateDiff | · | NYsubway | |
| tools | pzip.c | · | ISOWeekNum.c |
DateDiff 3.1
Info |
Screenshots |
Requirements |
Download
Changelog
Info:
Ever wonder how long you've been alive, down to the day? What about the precise amount of time since you met (or married) that special someone? How long 'till your next anniversary?
DateDiff is a simple program that allows the user to find out how much time has elapsed between any two dates, in terms of days, months and years as well as the total number of days.
Multiple date combinations ("events") can be stored, modified or deleted. The list of events is backed up with a HotSync, so that, if necessary, they can be restored after a hard reset.
DateDiff is freeware, distributed under the GNU General Public License.
event screen (default)
![]()
event screen (weeks mode)
![]()
list screen (weeks mode)
![]()
list screen (default)
![]()
date format dialog
![]()
list screen w. new date format
![]()
Download:
- PalmOS 2.0 or later
- 26 Kb RAM
Changelog:
- DateDiff
- DateDiff_3.1.tar.gz (20 Kb)
- DateDiff_3.1.zip (21 Kb)
- DateDiff w. sources (CodeWarrior)
- DateDiff_3.1_src.tar.gz (70 Kb)
- DateDiff_3.1_src.zip (94 Kb)
- Version 3.1 (2002.03.19)
- added ISO 8601 weeks functionality: dates may now be optionally displayed with week numbers
- date formats (when not in weeks mode) can be changed to any one of four alternatives
- help texts are stored in compressed format, saving a few Kb in application size
- source divided into numerous different files for easier management
- Version 3.0.1 (2002.02.08)
- fixed bug that caused crash when all events deleted and program restarted (sorry about that!)
- Version 3.0 (2002.01.26)
- events can now be grouped into categories
- number of days can be locked, with Date A locked to system date: Date B will always be n days from Date A
- "n Days" dialog now reflects current state
- using large numbers in "n Days" dialog now handled properly
- notes of up to 1 Kb can be associated with each event
- List View interface improvements:
- long event titles are truncated so that all data fits in row
- the number of days is aligned on the right
- note icon optionally displayed (option selected in Note dialog)
- locked date indicator arrows have changed to more visible bitmaps, and a hash symbol for when the number of days is locked
- ... also, the arrows no longer indicate which date is locked, but whether the locking of a date is counting forward to a date in the future or backward to a date in the past
- when in "All" category listing, the category of the selected event is displayed
- hardware keys can be used for scrolling long lists
- system date shown above list of events
- Version 2.1 (2001.11.27)
- Refined sort algorithm for list view
- List view sorted on application start (so events don't jump around anymore)
- Arrows in list view to show if a date is locked, and how
- Version 2.0 (2001.08.30)
- any number of events can be stored (or edited, or deleted)
- list of events is backed up with a HotSync, so that, if necessary, they can be restored after a hard reset
- list view shows the title and the total number of days for each event
- locked dates are updated even in list view -- and will even change as you use the program past midnight
- Version 1.3.1 (2001.08.23)
- opening nDays dialog now sets insertion point in number entry field
- Version 1.3 (2001.08.10)
- display changed so that YMD and D displays are on one screen
- "years", "months" and "days" labels become singular when appropriate
- prefs structure changed to use DateType rather than DateTimeType
- fixed minor MemHandleLock bug that showed up only with m505 ROM image
- Version 1.2 (2001.08.08)
- set Date B x number of days before or after Date A
- switch dates A & B
- Version 1.1 (2001.08.06)
- now find difference between any two dates
- difference can be seen as years, months and days or just as the total number of days
- either date can be locked to stay in sync with system date of device (providing same functionality as version 1.0)
- small help text added to explain new functionality
- Version 1.0 (2001.07.19)
- Version 1.0 released
NYsubway
Info |
Screenshots |
Requirements |
Download
Info:
I can hardly claim authorship of this one: the map was created by Michael Adler of nycsubway.org and converted to a Palm-readable format with a freeware tool called Pilot install (available at pinstall.envicon.com).
(last updated, 2002.04.11)
Screenshots:
Requirements:midtown
Download:
- PalmOS 3.0 or later
- 284 Kb RAM
- looks best with 4-bit grey, but will run with 2-bit
- nysubway.prc.bz2 (99 Kb)
- nysubway.zip (107 Kb)
A simple text compression routine, based around a few of the functions from txt2pdbdoc. Allowing for compressed text to be included in a Palm app and uncompressed on demand, it achieves about 50% compression on average: not fantastic, but it's pretty quick, and it can save a few Kb, even in small apps (DateDiff being one example: about 3 Kb saved from the two help files [NB: this is the case with version 3.1]). Adds less than 400 bytes to the code.
Compile pzip.c on any Unix-like system (even works under Cygwin) and run with a filename as the only argument. A compressed version of that file will be created, with ".pz" tacked on the end of the filename.
I use a PilRC *.rcp file to get the "pzip" resource into the app, then from within your PalmOS code, all you really need to do is:
Char *str; str = Punzip(PzippedStringResourceID); // do something with str MemPtrFree(str);
- pzip_1.0.tar.gz (11 Kb)
- pzip_1.0.zip (13 Kb)
A PalmOS algorithm to calculate the week number of a particular date, based on the ISO 8601 standard. More information on the ISO standard can be found at http://www.cl.cam.ac.uk/~mgk25/iso-time.html. A quick look at the source is also available.
- ISOWeekNum_1.0.tar.gz (8 Kb)
- ISOWeekNum_1.0.zip (9 Kb)