XServices/doc/DateServices/DateServices.xml

34 lines
1.7 KiB
XML
Raw Permalink Normal View History

<?xml version="1.0" encoding="utf-8"?>
<section xmlns="http://docbook.org/ns/docbook" version="5.0"
xmlns:xi="http://www.w3.org/2001/XInclude" id="dateservices">
<title>DateServices</title>
<para>The DateService bundles various date and time related operations.
</para>
<para>Its WSDL is located at http://server:port/XServices/DateService?wsdl</para>
<para>XServices uses a date/time format as suggested by http://www.w3.org/TR/2004/REC-xmlschema-2-20041028/#dateTime, which is basically a subset of ISO8601. Most input parameters for date/time have to be provided as such.
Another date/time format, that is often used is defined by RFC822. The major difference to ISO8601 and the Xmlschema datetime format, is in the way how the time zone is specified. ISO8601 specifies a colon to be used to separate hour and minutes time shift. RFC822 does not use a separator.
<itemizedlist>
<listitem>
<para>ISO8601 (example: "2012-01-17T23:50:00+01:00")</para>
</listitem>
<listitem>
<para>RFC822 (example: "2012-01-17T23:50:00+0100")</para>
</listitem>
</itemizedlist>
</para>
<xi:include href="./dateAdd.xml" />
<xi:include href="./dateTimeDiff.xml" />
<xi:include href="./dateTimeDiff2.xml" />
<xi:include href="./getDate.xml" />
<xi:include href="./getDateExtended.xml" />
<xi:include href="./formatDate.xml" />
<xi:include href="./formatDateAdvanced.xml" />
<xi:include href="./getInTimezone.xml" />
<xi:include href="./getTimestamp.xml" />
<xi:include href="./getTimestamp2.xml" />
<xi:include href="./getTimezones.xml" />
<xi:include href="./parseDate.xml" />
<xi:include href="./parseDateAdvanced.xml" />
</section>