12
1
2
3
4
5
6
7
8
9
10
11
A rotating (three concentric dials) widget used to choose a time. Innermost is Hours, outermost is Seconds, Middle is Minutes. Hours is a 24-hour cycle: code for two revs for a full day was too complex. Time displayed in string at bottom. setTime('HH:MM:SS") sets the time. Three methods to get the value: getTimeAsArray() returns [hours, minutes, seconds]; getTimeAsString() returns the displayed string; getTimeAsDate(aDate) annotates the aDate object with the displayed time. if the aDate parameter is missing, today is returned. It's currently being used to control the clock. The connection is on this.timeString (since changes to this, not the date, are detectable). The connection converter returns a Date object. The code is: function converter(value) { return this.sourceObj.getTimeAsDate() }
20:01:36