Date/Time configuration enhancements added
By Edward Wong on Sep 17, 2008
Since my last blog about the OJC Scheduler editor, the date/time specifications for the Simple Trigger's Active Period have been improved. Also, there's now a SimpleDateFormat chooser GUI to specify formats. Here's what the Simple Trigger panel looks like now:
The Now/Never checkboxes are mutually exclusive with their adjacent spinner (JSpinner) fields. To enter a specific date, make sure the respective checkbox is unchecked and place the cursor in date/time component field that you wish to vary (for example, the 2-digit month in the screenshot below) and press either the up or down arrow in the spinner.
If you wish to change the date/time format, press the Format button and a SimpleDateFormat Chooser pops up:
Build the format by selecting a pattern from one or more of the Patterns drop-down boxes and the corresponding SimpleDateFormat pattern will be inserted at the current caret position in the Format field. As you build, the Sample textfield reflects what the date/time will look like. Similarly, you can now also easily configure the format of the Job Date Format field by choosing <define custom...> in the drop-down list and the same SimpleDateFormat Chooser will appear:
Incidentally, management has decided the Scheduler component should now be a Binding Component instead of a Service Engine, so this enhancement will be the last as for as the Scheduler in SE form is concerned. It will take a little while before a BC version will be available.