line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Bb::Collaborate::Ultra::Session::RecurrenceRule; |
2
|
3
|
|
|
3
|
|
11
|
use warnings; use strict; |
|
3
|
|
|
3
|
|
3
|
|
|
3
|
|
|
|
|
71
|
|
|
3
|
|
|
|
|
9
|
|
|
3
|
|
|
|
|
3
|
|
|
3
|
|
|
|
|
42
|
|
3
|
3
|
|
|
3
|
|
8
|
use Mouse; |
|
3
|
|
|
|
|
3
|
|
|
3
|
|
|
|
|
10
|
|
4
|
3
|
|
|
3
|
|
659
|
use JSON; |
|
3
|
|
|
|
|
3
|
|
|
3
|
|
|
|
|
14
|
|
5
|
|
|
|
|
|
|
extends 'Bb::Collaborate::Ultra::DAO'; |
6
|
3
|
|
|
3
|
|
265
|
use Mouse::Util::TypeConstraints; |
|
3
|
|
|
|
|
3
|
|
|
3
|
|
|
|
|
19
|
|
7
|
|
|
|
|
|
|
coerce __PACKAGE__, from 'HashRef' => via { |
8
|
|
|
|
|
|
|
__PACKAGE__->new( $_ ) |
9
|
|
|
|
|
|
|
}; |
10
|
|
|
|
|
|
|
__PACKAGE__->load_schema(); |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
=head1 NAME |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
Bb::Collaborate::Ultra::Session::RecurrenceRule |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
=head1 DESCRIPTION |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
Session scheduling sub-record. |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
=head1 METHODS |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
See L |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
=cut |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
1; |
27
|
|
|
|
|
|
|
# downloaded from https://xx-csa.bbcollab.com/documentation |
28
|
|
|
|
|
|
|
__DATA__ |
29
|
|
|
|
|
|
|
{ |
30
|
|
|
|
|
|
|
"type" : "object", |
31
|
|
|
|
|
|
|
"id" : "RecurrenceRule", |
32
|
|
|
|
|
|
|
"properties" : { |
33
|
|
|
|
|
|
|
"recurrenceEndType" : { |
34
|
|
|
|
|
|
|
"type" : "string", |
35
|
|
|
|
|
|
|
"enum" : [ "on_date", "after_occurrences_count" ] |
36
|
|
|
|
|
|
|
}, |
37
|
|
|
|
|
|
|
"daysOfTheWeek" : { |
38
|
|
|
|
|
|
|
"type" : "array", |
39
|
|
|
|
|
|
|
"items" : { |
40
|
|
|
|
|
|
|
"type" : "string", |
41
|
|
|
|
|
|
|
"enum" : [ "mo", "tu", "we", "th", "fr", "sa", "su" ] |
42
|
|
|
|
|
|
|
} |
43
|
|
|
|
|
|
|
}, |
44
|
|
|
|
|
|
|
"recurrenceType" : { |
45
|
|
|
|
|
|
|
"type" : "string", |
46
|
|
|
|
|
|
|
"enum" : [ "daily", "weekly", "monthly" ] |
47
|
|
|
|
|
|
|
}, |
48
|
|
|
|
|
|
|
"interval" : { |
49
|
|
|
|
|
|
|
"type" : "string", |
50
|
|
|
|
|
|
|
"enum" : [ "1", "2", "3", "4", "5", "6", "7", "8", "9", "10" ] |
51
|
|
|
|
|
|
|
}, |
52
|
|
|
|
|
|
|
"numberOfOccurrence" : { |
53
|
|
|
|
|
|
|
"type" : "integer" |
54
|
|
|
|
|
|
|
}, |
55
|
|
|
|
|
|
|
"endDate" : { |
56
|
|
|
|
|
|
|
"type" : "string", |
57
|
|
|
|
|
|
|
"format" : "DATE_TIME" |
58
|
|
|
|
|
|
|
} |
59
|
|
|
|
|
|
|
} |
60
|
|
|
|
|
|
|
} |