Simon Wistow > Net-Google-Calendar-0.1_devel > Net::Google::Calendar::Entry

Download:
Net-Google-Calendar-0.1_devel.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  7
Open  2
View Bugs
Report a bug
Source   Latest Release: Net-Google-Calendar-0.97

NAME ^

Net::Google::Calendar::Entry - entry class for Net::Google::Calendar

SYNOPSIS ^

    my $event = Net::Google::Calendar::Entry->new();
    $event->title('Party!');
    $event->content('P-A-R-T-Why? Because we GOTTA!');
    $event->location("My Flat, London, England");
    $event->status('confirmed'); 
    $event->transparency('opaque');
    $event->visibility('private'); 

    my $author = Net::Google::Calendar::Person->new;
    $author->name('Foo Bar');
    $author->email('foo@bar.com');
    $entry->author($author);

DESCRIPTION ^

METHODS ^

new

Create a new Event object

id [id]

Get or set the id.

title [title]

Get or set the title.

content [content]

Get or set the content.

author [author]

Get or set the author

transparency [transparency]

Get or set the transparency. Transparency should be one of

    opaque
    transparent

visibility [visibility]

Get or set the visibility. Visibility should be one of

    confidential
    default
    private
    public 

status [status]

Get or set the status. Status should be one of

    canceled
    confirmed
    tentative

location [location]

Get or set the location

when [<start> <end>]

Get or set the start and end time as supplied as DateTime objects. End must be more than start.

Returns two DateTime objects depicting the start and end.

edit_url

Return the edit url of this event.

TODO ^

more complex content
more complex locations
recurrency
comments

See http://code.google.com/apis/gdata/common-elements.html for details

AUTHOR ^

Simon Wistow <simon@thegestalt.org>

COPYRIGHT ^

Copyright Simon Wistow, 2006

Distributed under the same terms as Perl itself.

SEE ALSO ^

http://code.google.com/apis/gdata/common-elements.html

Net::Google::Calendar

XML::Atom::Event