
TV::Anytime::Event - Represent a television or radio program event

foreach my $event ($service->events) {
print $event->start->datetime . " -> "
. $event->stop->datetime . ": "
. $event->program->title . "\n";
}

The TV::Anytime::Event represents a television or radio event.

Returns the duration of the event, as a DateTime::Duration object:
my $duration = $event->duration;
Returns the program linked to the event as a TV::Anytime::Program object:
print $event->program->title . "\n";
Returns the start time and date of the event as a DateTime object:
my $start = $event->start;
Returns the stop time and date of the event as a DateTime object:
my $stop = $event->stop;

TV::Anytime, TV::Anytime::Event, TV::Anytime::Service

Please report any bugs or feature requests to bug-TV-Anytime@rt.cpan.org, or through the web interface at http://rt.cpan.org.

Leon Brocard acme@astray.com

Copyright (c) 2005, Leon Brocard acme@astray.com. All rights reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.