Assigns a delegate to the format event.
public final void addOnFormat( DateTimeFormatEventHandler value )
value
The DateTimeFormatEventHandler delegate to be notified when the event occurs.
Passing an event handler as a parameter to this method is equivalent to setting the format event to that method in the Properties window. The format event occurs when the DateTimePicker control needs to convert the time value to a string format.
See Also removeOnFormat