NAME

A Factory for creating Class::Date objects

SYNOPSIS

my $factory = WWW::EFA::DateFactory->new();

METHODS

date_from_itdDateTime

my $date = $factory->date_from_itdDateTime( $doc->findnodes( 'itdDateTime' ) );

Expects an XML::LibXML::Element of XML like this:

<itdDateTime> <itdDate year="2011" month="11" day="15" weekday="3"/> <itdTime hour="9" minute="59"/> </itdDateTime>

Returns a WWW::EFA::Departure object

COPYRIGHT

Copyright 2011, Robin Clarke, Munich, Germany

AUTHOR

Robin Clarke <perl@robinclarke.net>