POD for an Asset::Event method.

This commit is contained in:
Colin Kuskie 2012-01-18 13:15:57 -08:00
parent a6e1adf183
commit 46152edef6

View file

@ -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 {
my $self = shift;
return $self->getDateTimeEnd - $self->getDateTimeStart;