Remind is a sophisticated command line calendar and alarm program. Its scripting language is a great model for designing scheduling domain language. I am particularly fond of its way of specifying "last Friday in Feburary". Instead of introducing the concept of "last", specifying the equivalent -- "7 days before the first Friday in March". Very clever indeed.