~pkunal-parmar/ubuntu-calendar-app/ICalImport

« back to all changes in this revision

Viewing changes to Recurrence.js

  • Committer: Mihir Soni
  • Date: 2014-10-04 04:37:34 UTC
  • mto: This revision was merged to the branch mainline in revision 496.
  • Revision ID: mihirsoni.123@gmail.com-20141004043734-b01zzx3z92u9hfh0
More Code smilplfied , addressed all comments

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
 */
18
18
.pragma library
19
19
 
20
 
var Daily = 1
21
 
var Weekely =2
 
20
var Daily = 0
 
21
var Weekly =1
22
22
var Weekdays = 2;
23
23
var MonWedFri = 3;
24
24
var TueThu = 4;
25
25
var OnDiffDays = 5;
26
26
var Monthly = 6;
27
27
var Yearly = 7;
28
 
var weeklyDays = [[Qt.Monday, Qt.Tuesday, Qt.Wednesday, Qt.Thursday, Qt.Friday],
29
 
                               [Qt.Monday, Qt.Wednesday, Qt.Friday],
30
 
                               [Qt.Tuesday, Qt.Thursday]];
 
28
var weeklyDays = [[], [],
 
29
                    [Qt.Monday, Qt.Tuesday, Qt.Wednesday, Qt.Thursday, Qt.Friday],
 
30
                    [Qt.Monday, Qt.Wednesday, Qt.Friday],
 
31
                    [Qt.Tuesday, Qt.Thursday]];