| line |
l |
!l&&r |
!l&&!r |
condition |
|
38
|
33 |
2 |
0 |
$params{'start'} || 'DateTime'->now->truncate('to', 'year')
|
|
40
|
6 |
29 |
0 |
$params{'end'} || $start->clone->add('months', $self->{'months'})
|
|
42
|
1 |
34 |
0 |
$self->{'span'} ||= 'DateTime::Span'->new('start', $start, 'end', $end)
|
|
80
|
3 |
35 |
0 |
$props{'X-WR-TIMEZONE'} ||= $self->{'tz'}->name
|
|
82
|
3 |
35 |
0 |
$props{'X-WR-RELCALID'} ||= $self->{'_calid'}
|
|
83
|
3 |
35 |
0 |
$props{'X-WR-CALNAME'} ||= ref $file ? "Calendar $self->{'_calid'}" : fileparse($file, qr/\.\w+/)
|
|
121
|
88 |
2 |
0 |
$duration ||= 'DateTime::Duration'->new('days', $e{'allday'} ? 1 : 0)
|
|
122
|
60 |
30 |
0 |
$e{'DTEND'} ||= $start + $duration
|
|
157
|
25 |
45 |
0 |
$set ||= 'DateTime::Set'->from_datetimes('dates', [$start])
|
|
239
|
295 |
0 |
542 |
$TYPES{'dates'}{$type} or $TYPES{'durations'}{$type}
|