Skip to content
Permalink
Browse files

POD for an Asset::Event method.

  • Loading branch information...
perlDreamer committed Jan 18, 2012
1 parent a6e1adf commit 46152edef68d7525b555ec2dd98c435e9f67cde2
Showing with 8 additions and 0 deletions.
  1. +8 −0 lib/WebGUI/Asset/Event.pm
@@ -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;

0 comments on commit 46152ed

Please sign in to comment.
You can’t perform that action at this time.