Lines 379-385
sub hours_between {
Link Here
|
379 |
} |
379 |
} |
380 |
|
380 |
|
381 |
return $duration; |
381 |
return $duration; |
382 |
|
|
|
383 |
} |
382 |
} |
384 |
|
383 |
|
385 |
sub set_daysmode { |
384 |
sub set_daysmode { |
Lines 499-505
$duration = $calendar->days_between($start_dt, $end_dt);
Link Here
|
499 |
|
498 |
|
500 |
Passed two dates returns a DateTime::Duration object measuring the length between them |
499 |
Passed two dates returns a DateTime::Duration object measuring the length between them |
501 |
ignoring closed days. Always returns a positive number irrespective of the |
500 |
ignoring closed days. Always returns a positive number irrespective of the |
502 |
relative order of the parameters |
501 |
relative order of the parameters. |
|
|
502 |
|
503 |
Note: This routine assumes neither the passed start_dt nor end_dt can be a closed day |
504 |
|
505 |
=head2 hours_between |
506 |
|
507 |
$duration = $calendar->hours_between($start_dt, $end_dt); |
508 |
|
509 |
Passed two dates returns a DateTime::Duration object measuring the length between them |
510 |
ignoring closed days. Always returns a positive number irrespective of the |
511 |
relative order of the parameters. |
512 |
|
513 |
Note: This routine assumes neither the passed start_dt nor end_dt can be a closed day |
503 |
|
514 |
|
504 |
=head2 next_open_days |
515 |
=head2 next_open_days |
505 |
|
516 |
|
506 |
- |
|
|