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


Net-Google-Code documentation  | view source Contained in the Net-Google-Code distribution.

Index


NAME

Top

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

SYNOPSIS

Top

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

DESCRIPTION

Top

utility methods live here

INTERFACE

Top

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

Top

DateTime

AUTHOR

Top

sunnavy <sunnavy@bestpractical.com>

LICENCE AND COPYRIGHT

Top


Net-Google-Code documentation  | view source Contained in the Net-Google-Code distribution.