Net::Google::Code::Issue::Util.3pm

Langue: en

Version: 2010-04-07 (ubuntu - 24/10/10)

Section: 3 (Bibliothèques de fonctions)

NAME

Net::Google::Code::Issue::Util - Util

SYNOPSIS

     use Net::Google::Code::Issue::Util;
 
 

DESCRIPTION

utility methods live here

INTERFACE

write_xml
wrap of XML::TreePP->write
translate_from_xml( $hashref | $xml_string )
translate from xml, the general translation map is: 'issues:stars' => 'stars', value datetime string => DateTime object
translate_to_xml( $hashref, root => 'project', boolean => ['foo','bar'] )
generally, the reverse of translate_from_xml.
datetime_from_string
parse string to a DateTime object, and translate its timezone to UTC

SEE ALSO

DateTime

AUTHOR

sunnavy "<sunnavy@bestpractical.com>" Copyright 2009 Best Practical Solutions.

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