Subversion Repositories XServices

Compare Revisions

No changes between revisions

Regard whitespace Rev 159 → Rev 169

/xservices/trunk/doc/DateServices/dateTimeDiff.xml
0,0 → 1,20
<?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE section [
<!ENTITY % myent SYSTEM "../entities.ent">
%myent;
]>
<section xmlns="http://docbook.org/ns/docbook" version="5.0"
xmlns:xi="http://www.w3.org/2001/XInclude">
<title>dateTimeDiff</title>
<para>Calculate elapsed time between two dates. Returns the elapsed time in milliseconds.
Sample request:
<screen><![CDATA[
...
]]></screen>
Sample response:
<programlisting language="xml"><![CDATA[
...
]]></programlisting>
</para>
<para>Hints here</para>
</section>
Property changes:
Added: svn:mime-type
+text/plain
\ No newline at end of property
/xservices/trunk/doc/DateServices/dateAdd.xml
0,0 → 1,20
<?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE section [
<!ENTITY % myent SYSTEM "../entities.ent">
%myent;
]>
<section xmlns="http://docbook.org/ns/docbook" version="5.0"
xmlns:xi="http://www.w3.org/2001/XInclude">
<title>dateAdd</title>
<para>Add or substract a time span from/ to a date.
Sample request:
<screen><![CDATA[
...
]]></screen>
Sample response:
<programlisting language="xml"><![CDATA[
...
]]></programlisting>
</para>
<para>Hints here</para>
</section>
Property changes:
Added: svn:mime-type
+text/plain
\ No newline at end of property
/xservices/trunk/doc/DateServices/dateTimeDiff2.xml
0,0 → 1,20
<?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE section [
<!ENTITY % myent SYSTEM "../entities.ent">
%myent;
]>
<section xmlns="http://docbook.org/ns/docbook" version="5.0"
xmlns:xi="http://www.w3.org/2001/XInclude">
<title>dateTimeDiff</title>
<para>Calculate Fully elapsed units between two dates. Example: 4:15:10-4:15:55 in minutes = 0 and in seconds = 45.
Sample request:
<screen><![CDATA[
...
]]></screen>
Sample response:
<programlisting language="xml"><![CDATA[
...
]]></programlisting>
</para>
<para>Hints here</para>
</section>
Property changes:
Added: svn:mime-type
+text/plain
\ No newline at end of property
/xservices/trunk/doc/DateServices/parseDate.xml
0,0 → 1,26
<?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE section [
<!ENTITY % myent SYSTEM "../entities.ent">
%myent;
]>
<section xmlns="http://docbook.org/ns/docbook" version="5.0"
xmlns:xi="http://www.w3.org/2001/XInclude">
<title>parseDate</title>
<para>
Converts a string into date using pre-defined date formats
<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>
<listitem>
<para>YYYYMMDD (example: "2012/01/17")</para>
</listitem>
<listitem>
<para>DDMMYYYY (example: "17.01.2012")</para>
</listitem>
</itemizedlist>
</para>
</section>
Property changes:
Added: svn:mime-type
+text/plain
\ No newline at end of property
/xservices/trunk/doc/DateServices/formatDateAdvanced.xml
0,0 → 1,37
<?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE section [
<!ENTITY % myent SYSTEM "../entities.ent">
%myent;
]>
<section xmlns="http://docbook.org/ns/docbook" version="5.0"
xmlns:xi="http://www.w3.org/2001/XInclude">
<title>formatDateAdvanced</title>
<para>
Transform Time/ Date representation. Formats a date with a free form pattern. Uses SimpleDateFormat patterns.
</para>
<para>
The following pattern letters are defined (all other characters from 'A' to 'Z' and from 'a' to 'z' are reserved):
<programlisting><![CDATA[
Letter Date or Time Component Presentation Examples
G Era designator Text AD
y Year Year 1996; 96
M Month in year Month July; Jul; 07
w Week in year Number 27
W Week in month Number 2
D Day in year Number 189
d Day in month Number 10
F Day of week in month Number 2
E Day in week Text Tuesday; Tue
a Am/pm marker Text PM
H Hour in day (0-23) Number 0
k Hour in day (1-24) Number 24
K Hour in am/pm (0-11) Number 0
h Hour in am/pm (1-12) Number 12
m Minute in hour Number 30
s Second in minute Number 55
S Millisecond Number 978
z Time zone General time zone Pacific Standard Time; PST; GMT-08:00
Z Time zone RFC 822 time zone -0800
]]></programlisting>
</para>
</section>
Property changes:
Added: svn:mime-type
+text/plain
\ No newline at end of property
/xservices/trunk/doc/DateServices/parseDateAdvanced.xml
0,0 → 1,13
<?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE section [
<!ENTITY % myent SYSTEM "../entities.ent">
%myent;
]>
<section xmlns="http://docbook.org/ns/docbook" version="5.0"
xmlns:xi="http://www.w3.org/2001/XInclude">
<title>parseDateAdvanced</title>
<para>
Converts a string into date using any format.
</para>
</section>
Property changes:
Added: svn:mime-type
+text/plain
\ No newline at end of property
/xservices/trunk/doc/DateServices/DateServices.xml
18,11 → 18,17
</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>