---
name: "Net::Google::Code::Issue::Util"
section: "3pm"
platform: "linux"
package: "libnet-google-code-perl"
version: "0.19-2"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/Net::Google::Code::Issue::Util"
---

# Net::Google::Code::Issue::Util(3pm)

Util

## 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>"`

## LICENCE AND COPYRIGHT

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.
