POD for an Asset::Event method.
This commit is contained in:
parent
a6e1adf183
commit
46152edef6
1 changed files with 8 additions and 0 deletions
|
|
@ -399,6 +399,14 @@ sub dateSet {
|
||||||
|
|
||||||
#-------------------------------------------------------------------
|
#-------------------------------------------------------------------
|
||||||
|
|
||||||
|
=head2 duration ( )
|
||||||
|
|
||||||
|
Returns a DateTime::Duration object that represents the difference in time between the end
|
||||||
|
and start times of the event.
|
||||||
|
|
||||||
|
=cut
|
||||||
|
|
||||||
|
|
||||||
sub duration {
|
sub duration {
|
||||||
my $self = shift;
|
my $self = shift;
|
||||||
return $self->getDateTimeEnd - $self->getDateTimeStart;
|
return $self->getDateTimeEnd - $self->getDateTimeStart;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue