Duke's Diary is a MIDlet which implements a small diary application. It should run on any Java enabled device that implements the CLDC/MIDP stack. It is used to store entries which belong to a certain date. The date is fixed and depends on when you make an entry. This applies to the time of an entry, too. You can browse through your diary by entering a date to display. Contrary to time and date, the text of an entry can be altered.
I have written the program to illustrate MIDlet development. It belongs to a series of featured articles about J2ME development on www.java.net. You can download the source files as well as the executable jar file of Duke's Diary here
Going Mobile with Duke
Still on the Road with Duke
Mobile Memories: The MIDP Record Management System
Low-Level Display Access in MIDlets