Customizing Filter Protos

newtDateFilter/newtSimpleDateFilter/newtDateNTimeFilter

You can customize a date's display by specifying one of two slots. Note that one slot will contain a value and the other will be set to nil:

shortFormat
Integer. An integer suitable as a parameter to ShortDateStr. An example is kFormatDefault. If this slot is nil, the filter uses longFormat instead.

longFormat
Integer. An integer suitable as a parameter to LongDateStr. An example is kFormatDefault. If this slot is nil, the filter uses shortFormat instead.


An online version of Programming for the Newton using Macintosh, 2nd ed. ©1996, 1994, Julie McKeehan and Neil Rhodes.

Last modified: 1 DEC 1996