(year, month, date, dayOfWeek, hour, minute, second)
| 57 | NOTE: Cron months are 1-based, but RecurrenceRule months are 0-based. |
| 58 | */ |
| 59 | function RecurrenceRule(year, month, date, dayOfWeek, hour, minute, second) { |
| 60 | this.recurs = true; |
| 61 | |
| 62 | this.year = (year == null) ? null : year; |
| 63 | this.month = (month == null) ? null : month; |
| 64 | this.date = (date == null) ? null : date; |
| 65 | this.dayOfWeek = (dayOfWeek == null) ? null : dayOfWeek; |
| 66 | this.hour = (hour == null) ? null : hour; |
| 67 | this.minute = (minute == null) ? null : minute; |
| 68 | this.second = (second == null) ? 0 : second; |
| 69 | } |
| 70 | |
| 71 | RecurrenceRule.prototype.isValid = function() { |
| 72 | function isValidType(num) { |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…