r18773 - /trunk/libdatetime-format-iso8601-perl/debian/control

yvesago-guest at users.alioth.debian.org yvesago-guest at users.alioth.debian.org
Fri Apr 18 14:24:57 UTC 2008


Author: yvesago-guest
Date: Fri Apr 18 14:24:56 2008
New Revision: 18773

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=18773
Log:
more description

Modified:
    trunk/libdatetime-format-iso8601-perl/debian/control

Modified: trunk/libdatetime-format-iso8601-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libdatetime-format-iso8601-perl/debian/control?rev=18773&op=diff
==============================================================================
--- trunk/libdatetime-format-iso8601-perl/debian/control (original)
+++ trunk/libdatetime-format-iso8601-perl/debian/control Fri Apr 18 14:24:56 2008
@@ -13,4 +13,19 @@
 Depends: ${perl:Depends}, ${misc:Depends}, libdatetime-perl (>= 0.18), libdatetime-format-builder-perl (>= 0.77)
 Description: Parses ISO8601 formats
  Parses almost all ISO8601 date and time formats.
+ .
+ The signature feature of ISO 8601 date and time representations is the 
+ ordering of date and time values from the most to the least significant or, 
+ in plain terms, from the largest (the year) to the smallest (the second).
+ .
+ Example date:  2008-04-18
+ Example separate date and time in UTC: 2008-04-18 08:47Z
+ Example combined date and time in UTC: 2008-04-18T08:47Z
+ Example date with week number: 2008-W16-5
+ .
+ use DateTime::Format::ISO8601;
+ .
+ my $dt = DateTime::Format::ISO8601->parse_datetime( $str );
+ my $dt = DateTime::Format::ISO8601->parse_time( $str );
+ .
  ISO8601 time-intervals will be supported in a later release.




More information about the Pkg-perl-cvs-commits mailing list