Commits

Toby Inkster committed fd2aa57

document support for DateTimeStamp, YearMonthDuration and DayTimeDuration

  • Participants
  • Parent commits 429900c

Comments (0)

Files changed (1)

File lib/Types/XSD.pm

 
 An ISO 8601 duration.
 
+=item C<< YearMonthDuration >>
+
+An ISO 8601 duration restricted to cover only years and months.
+
+=item C<< DayTimeDuration >>
+
+An ISO 8601 duration restricted to cover only days, hours, minutes and
+seconds. (Note that this still permits durations of many years, as the
+days component is an arbitrary non-negative integer.)
+
 =item C<< DateTime >>
 
 An ISO 8601 datetime with optional timezone.
 
+=item C<< DateTimeStamp >>
+
+An ISO 8601 datetime with required timezone.
+
 =item C<< Time >>
 
 An ISO 8601 time with optional timezone.
 
 L<Type::Tiny>, L<Types::Standard>.
 
+=over
+
+=item *
+
+L<http://www.w3.org/TR/xmlschema-2/> Datatypes in XML Schema 1.0
+
+=item *
+
+L<http://www.w3.org/TR/xmlschema11-2/> Datatypes in XML Schema 1.1
+
+=back
+
 =head1 AUTHOR
 
 Toby Inkster E<lt>tobyink@cpan.orgE<gt>.