~mihirsoni/ubuntu-calendar-app/dateSelectNewEventTest

« back to all changes in this revision

Viewing changes to Recurrence.js

  • Committer: Kunal Parmar
  • Date: 2014-10-20 15:20:21 UTC
  • mto: This revision was merged to the branch mainline in revision 510.
  • Revision ID: pkunal.parmar@gmail.com-20141020152021-e2fv7dqqu4zv4g2y
defect resolved

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Copyright (C) 2013-2014 Canonical Ltd
 
3
 *
 
4
 * This file is part of Ubuntu Calendar App
 
5
 *
 
6
 * Ubuntu Calendar App is free software: you can redistribute it and/or modify
 
7
 * it under the terms of the GNU General Public License version 3 as
 
8
 * published by the Free Software Foundation.
 
9
 *
 
10
 * Ubuntu Calendar App is distributed in the hope that it will be useful,
 
11
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
12
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
13
 * GNU General Public License for more details.
 
14
 *
 
15
 * You should have received a copy of the GNU General Public License
 
16
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
17
 */
 
18
.pragma library
 
19
 
 
20
var Daily = 0
 
21
var Weekly =1
 
22
var Weekdays = 2;
 
23
var MonWedFri = 3;
 
24
var TueThu = 4;
 
25
var OnDiffDays = 5;
 
26
var Monthly = 6;
 
27
var Yearly = 7;
 
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]];