The manakai project

Web::DOM::AtomDateConstruct

DOM AtomDateConstruct object

DESCRIPTION

The Web::DOM::AtomDateConstruct class implements the DOM AtomDateConstruct interface. The class is used by several Atom elements.

METHODS

In addition to the methods available for classes Web::DOM::Element and Web::DOM::AtomElement, the following method is available:

$number = $el->value
$el->value ($number)

Return or set the date-time value of the element content. The date-time value is represented as time_t real number (i.e. seconds from the Unix epoch). [ATOMDOM] [DOMPERL]

See also "DEPENDENCY" in Web::DOM.

There are subclasses for specific elements: Web::DOM::AtomPublishedElement and Web::DOM::AtomUpdatedElement.

DEPENDENCY

For the value method, the perl-web-datetime package <https://github.com/manakai/perl-web-datetime> is required.

SPECIFICATIONS

ATOMDOM

Atom DOM <http://suika.suikawiki.org/www/markup/xml/atomdom>.

DOMPERL

manakai's DOM Perl Binding <http://suika.suikawiki.org/~wakaba/wiki/sw/n/manakai%27s%20DOM%20Perl%20Binding>.

SEE ALSO

Web::DOM::AtomElement.

AUTHOR

Wakaba <wakaba@suikawiki.org>.

LICENSE

Copyright 2013-2014 Wakaba <wakaba@suikawiki.org>.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.