Skip to content

Commit 46152ed

Browse files
committedJan 18, 2012
POD for an Asset::Event method.
1 parent a6e1adf commit 46152ed

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed
 

‎lib/WebGUI/Asset/Event.pm

+8
Original file line numberDiff line numberDiff line change
@@ -399,6 +399,14 @@ sub dateSet {
399399

400400
#-------------------------------------------------------------------
401401

402+
=head2 duration ( )
403+
404+
Returns a DateTime::Duration object that represents the difference in time between the end
405+
and start times of the event.
406+
407+
=cut
408+
409+
402410
sub duration {
403411
my $self = shift;
404412
return $self->getDateTimeEnd - $self->getDateTimeStart;

0 commit comments

Comments
 (0)
Please sign in to comment.