Michael Daum > WebService-Cmis-0.08 > WebService::Cmis::Property::DateTime

Download:
WebService-Cmis-0.08.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  2
Open  0
View/Report Bugs
Source   Latest Release: WebService-Cmis-0.09

NAME ^

WebService::Cmis::Property::DateTime

Representation of a propertyDateTime of a cmis object

SYNOPSIS ^

DESCRIPTION ^

METHODS ^

parse($isoDate) -> $epoch

convert the given string into epoch seconds. The date string must be in ISO date format, e.g. 2011-01-18T16:05:54.951+01:00

unparse($perlValue) $cmisValue

converts a perl representation back to a format understood by cmis

getTZString

Get timezone offset of the local time from GMT in seconds. Code taken from CPAN module 'Time' - "David Muir Sharnoff disclaims any copyright and puts his contribution to this module in the public domain.

COPYRIGHT AND LICENSE ^

Copyright 2012 Michael Daum

This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See http://dev.perl.org/licenses/artistic.html.

syntax highlighting: