An open API service indexing awesome lists of open source software.

https://github.com/perl-net-saml2/perl-datetime-format-xsd

DateTime::Format::XSD - Format DateTime according to xsd:dateTime
https://github.com/perl-net-saml2/perl-datetime-format-xsd

datetime format xsd

Last synced: 2 months ago
JSON representation

DateTime::Format::XSD - Format DateTime according to xsd:dateTime

Awesome Lists containing this project

README

        

NAME
DateTime::Format::XSD - Format DateTime according to xsd:dateTime

VERSION
version 0.4

SYNOPSIS
my $str = DateTime::Format::XSD->format_datetime($dt);

DESCRIPTION
XML Schema defines a usage profile which is a subset of the ISO8601
profile. This profile defines that the following is the only possible
representation for a dateTime, despite all other options ISO provides.

YYYY-MM-DD"T"HH:MI:SS(Z|[+-]zh:zm)

This module is a subclass of DateTime::Format::ISO8601, therefore it
will be able to parse all other ISO options, but will only format it in
this exact spec.

SEE ALSO
DateTime, DateTime::Format::ISO8601, The XML Schema speficitation.

BUG REPORTS
Please submit all bugs regarding "DateTime::Format::XSD" to
"[email protected]"

COPYRIGHT
This software is copyright (c) 2004 by Daniel Ruoso.

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

AUTHORS
* Daniel Ruoso

* Timothy Legge

COPYRIGHT AND LICENSE
This software is copyright (c) 2021 by Daniel Ruoso.

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