770 lines
38 KiB
HTML
770 lines
38 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
|
|
<title>XQilla Simple API: ATDateOrDerived Class Reference</title>
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
|
<link href="tabs.css" rel="stylesheet" type="text/css">
|
|
</head><body>
|
|
<!-- Generated by Doxygen 1.4.6 -->
|
|
<div class="tabs">
|
|
<ul>
|
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
|
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
|
|
<li id="current"><a href="classes.html"><span>Classes</span></a></li>
|
|
<li><a href="files.html"><span>Files</span></a></li>
|
|
</ul></div>
|
|
<div class="tabs">
|
|
<ul>
|
|
<li><a href="classes.html"><span>Alphabetical List</span></a></li>
|
|
<li><a href="annotated.html"><span>Class List</span></a></li>
|
|
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
|
|
<li><a href="functions.html"><span>Class Members</span></a></li>
|
|
</ul></div>
|
|
<h1>ATDateOrDerived Class Reference</h1><!-- doxytag: class="ATDateOrDerived" --><!-- doxytag: inherits="DateOrTimeType" --><code>#include <<a class="el" href="ATDateOrDerived_8hpp-source.html">ATDateOrDerived.hpp</a>></code>
|
|
<p>
|
|
Inheritance diagram for ATDateOrDerived:<p><center><img src="classATDateOrDerived__inherit__graph.png" border="0" usemap="#ATDateOrDerived__inherit__map" alt="Inheritance graph"></center>
|
|
<map name="ATDateOrDerived__inherit__map">
|
|
<area href="classDateOrTimeType.html" shape="rect" coords="13,233,135,257" alt="">
|
|
<area href="classAnyAtomicType.html" shape="rect" coords="17,158,131,182" alt="">
|
|
<area href="classItem.html" shape="rect" coords="50,83,98,107" alt="">
|
|
<area href="classReferenceCounted.html" shape="rect" coords="7,9,141,33" alt="">
|
|
</map>
|
|
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classATDateOrDerived-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
|
|
<tr><td></td></tr>
|
|
<tr><td colspan="2"><br><h2>Public Types</h2></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <a class="el" href="classRefCountPointer.html">RefCountPointer</a>< const <br>
|
|
<a class="el" href="classATDateOrDerived.html">ATDateOrDerived</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classATDateOrDerived.html#d8c9a8a147e735472b507005f890cf9a">Ptr</a></td></tr>
|
|
|
|
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual const XMLCh * </td><td class="memItemRight" valign="bottom"><a class="el" href="classATDateOrDerived.html#42f3dea424cc19d19a0d4025e4a72e29">getPrimitiveTypeName</a> () const =0</td></tr>
|
|
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual const XMLCh * </td><td class="memItemRight" valign="bottom"><a class="el" href="classATDateOrDerived.html#4e06c21a12b1fd08f9128326af32a366">getTypeURI</a> () const =0</td></tr>
|
|
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual const XMLCh * </td><td class="memItemRight" valign="bottom"><a class="el" href="classATDateOrDerived.html#ec2e888025153e35395ae176a8ef6f3e">getTypeName</a> () const =0</td></tr>
|
|
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual const XMLCh * </td><td class="memItemRight" valign="bottom"><a class="el" href="classATDateOrDerived.html#2f652a807105eaa9932bd2b6f10e320c">asString</a> (const <a class="el" href="classDynamicContext.html">DynamicContext</a> *context) const =0</td></tr>
|
|
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classATDateOrDerived.html#0dc96e16013618d8e5f82da5d8fb8647">equals</a> (const <a class="el" href="classRefCountPointer.html">AnyAtomicType::Ptr</a> &target, const <a class="el" href="classDynamicContext.html">DynamicContext</a> *context) const =0</td></tr>
|
|
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="classATDateOrDerived.html#e724e07e038008eb996c2ad7982908d4">compare</a> (const <a class="el" href="classRefCountPointer.html">ATDateOrDerived::Ptr</a> &other, const <a class="el" href="classDynamicContext.html">DynamicContext</a> *context) const =0</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns less than 0 if this is less that other, 0 if they are the same, and greater than 0 otherwise. <a href="#e724e07e038008eb996c2ad7982908d4"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classRefCountPointer.html">ATDecimalOrDerived::Ptr</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classATDateOrDerived.html#8de28eca500f5e671d84973b0675b108">getYears</a> (const <a class="el" href="classDynamicContext.html">DynamicContext</a> *context) const =0</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns an integer representing the year component of this object. <a href="#8de28eca500f5e671d84973b0675b108"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classRefCountPointer.html">ATDecimalOrDerived::Ptr</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classATDateOrDerived.html#27c8d7f9685fc94751704c0d538cac57">getMonths</a> (const <a class="el" href="classDynamicContext.html">DynamicContext</a> *context) const =0</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns an integer representing the month component of this object. <a href="#27c8d7f9685fc94751704c0d538cac57"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classRefCountPointer.html">ATDecimalOrDerived::Ptr</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classATDateOrDerived.html#f79e3f183597a025e2c0cd29832995dd">getDays</a> (const <a class="el" href="classDynamicContext.html">DynamicContext</a> *context) const =0</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns an integer representing the day component of this object. <a href="#f79e3f183597a025e2c0cd29832995dd"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual const <a class="el" href="classRefCountPointer.html">Timezone::Ptr</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classATDateOrDerived.html#47b9b444b476fe966a36e5108386f72d">getTimezone</a> () const =0</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns a timezone object representing the timezone component of this object. <a href="#47b9b444b476fe966a36e5108386f72d"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classATDateOrDerived.html#191c1534ddef24103ffbf6d3b8e8add2">hasTimezone</a> () const =0</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns true if the timezone is defined for this object, false otherwise. <a href="#191c1534ddef24103ffbf6d3b8e8add2"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classRefCountPointer.html">ATDateOrDerived::Ptr</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classATDateOrDerived.html#c9215275a7ea526d6a52357b9aa99f01">setTimezone</a> (const <a class="el" href="classRefCountPointer.html">Timezone::Ptr</a> &timezone, const <a class="el" href="classDynamicContext.html">DynamicContext</a> *context) const =0</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Setter for timezone. <a href="#c9215275a7ea526d6a52357b9aa99f01"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classRefCountPointer.html">ATDateOrDerived::Ptr</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classATDateOrDerived.html#c3393cdb67011bd0bee8b70b55d1f9b2">addTimezone</a> (const <a class="el" href="classRefCountPointer.html">ATDurationOrDerived::Ptr</a> &timezone, const <a class="el" href="classDynamicContext.html">DynamicContext</a> *context) const =0</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns an <a class="el" href="classATDateOrDerived.html">ATDateOrDerived</a> with a timezone added to it. <a href="#c3393cdb67011bd0bee8b70b55d1f9b2"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classRefCountPointer.html">ATDateOrDerived::Ptr</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classATDateOrDerived.html#ea9fa70905ea850638a36e7ce91f750e">addYearMonthDuration</a> (const <a class="el" href="classRefCountPointer.html">ATDurationOrDerived::Ptr</a> &yearMonth, const <a class="el" href="classDynamicContext.html">DynamicContext</a> *context) const =0</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns a date with the given yearMonthDuration added to it. <a href="#ea9fa70905ea850638a36e7ce91f750e"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classRefCountPointer.html">ATDateOrDerived::Ptr</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classATDateOrDerived.html#4bc426e34ec318d4b9ab6036bde85798">addDayTimeDuration</a> (const <a class="el" href="classRefCountPointer.html">ATDurationOrDerived::Ptr</a> &dayTime, const <a class="el" href="classDynamicContext.html">DynamicContext</a> *context) const =0</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns a date with the given dayTimeDuration added to it. <a href="#4bc426e34ec318d4b9ab6036bde85798"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classRefCountPointer.html">ATDateOrDerived::Ptr</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classATDateOrDerived.html#bbb69fc752cc785e76d8ab96814dafde">subtractYearMonthDuration</a> (const <a class="el" href="classRefCountPointer.html">ATDurationOrDerived::Ptr</a> &yearMonth, const <a class="el" href="classDynamicContext.html">DynamicContext</a> *context) const =0</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns a date with the given yearMonthDuration subtracted from it. <a href="#bbb69fc752cc785e76d8ab96814dafde"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classRefCountPointer.html">ATDateOrDerived::Ptr</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classATDateOrDerived.html#bdd73c4576a1b610796515f52f353cc4">subtractDayTimeDuration</a> (const <a class="el" href="classRefCountPointer.html">ATDurationOrDerived::Ptr</a> &dayTime, const <a class="el" href="classDynamicContext.html">DynamicContext</a> *context) const =0</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns a date with the given dayTimeDuration subtracted from it. <a href="#bdd73c4576a1b610796515f52f353cc4"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classRefCountPointer.html">ATDurationOrDerived::Ptr</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classATDateOrDerived.html#6d9506870ecfae3d98d6ea82a0faf38f">subtractDate</a> (const <a class="el" href="classRefCountPointer.html">ATDateOrDerived::Ptr</a> &date, const <a class="el" href="classDynamicContext.html">DynamicContext</a> *context) const =0</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns a dayTimeDuration corresponding to the difference between this and the given ATDateOrDerived*. <a href="#6d9506870ecfae3d98d6ea82a0faf38f"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classAnyAtomicType.html#289c5db5e82b40c2f3e53af7d472f14c">AnyAtomicType::AtomicObjectType</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classATDateOrDerived.html#5acd6a26b75da8c421b26094b2008ac0">getPrimitiveTypeIndex</a> () const =0</td></tr>
|
|
|
|
</table>
|
|
<hr><h2>Member Typedef Documentation</h2>
|
|
<a class="anchor" name="d8c9a8a147e735472b507005f890cf9a"></a><!-- doxytag: member="ATDateOrDerived::Ptr" ref="d8c9a8a147e735472b507005f890cf9a" args="" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">typedef <a class="el" href="classRefCountPointer.html">RefCountPointer</a><const <a class="el" href="classATDateOrDerived.html">ATDateOrDerived</a>> <a class="el" href="classRefCountPointer.html">ATDateOrDerived::Ptr</a> </td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing="5" cellpadding="0" border="0">
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
|
|
<p>
|
|
Reimplemented from <a class="el" href="classDateOrTimeType.html#d939d4a88e6dc7eb2cacc4b655cfb8c6">DateOrTimeType</a>. </td>
|
|
</tr>
|
|
</table>
|
|
<hr><h2>Member Function Documentation</h2>
|
|
<a class="anchor" name="4bc426e34ec318d4b9ab6036bde85798"></a><!-- doxytag: member="ATDateOrDerived::addDayTimeDuration" ref="4bc426e34ec318d4b9ab6036bde85798" args="(const ATDurationOrDerived::Ptr &dayTime, const DynamicContext *context) const =0" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">virtual <a class="el" href="classRefCountPointer.html">ATDateOrDerived::Ptr</a> ATDateOrDerived::addDayTimeDuration </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">const <a class="el" href="classRefCountPointer.html">ATDurationOrDerived::Ptr</a> & </td>
|
|
<td class="mdname" nowrap> <em>dayTime</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap>const <a class="el" href="classDynamicContext.html">DynamicContext</a> * </td>
|
|
<td class="mdname" nowrap> <em>context</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"> const<code> [pure virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing="5" cellpadding="0" border="0">
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
Returns a date with the given dayTimeDuration added to it.
|
|
<p>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="c3393cdb67011bd0bee8b70b55d1f9b2"></a><!-- doxytag: member="ATDateOrDerived::addTimezone" ref="c3393cdb67011bd0bee8b70b55d1f9b2" args="(const ATDurationOrDerived::Ptr &timezone, const DynamicContext *context) const =0" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">virtual <a class="el" href="classRefCountPointer.html">ATDateOrDerived::Ptr</a> ATDateOrDerived::addTimezone </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">const <a class="el" href="classRefCountPointer.html">ATDurationOrDerived::Ptr</a> & </td>
|
|
<td class="mdname" nowrap> <em>timezone</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap>const <a class="el" href="classDynamicContext.html">DynamicContext</a> * </td>
|
|
<td class="mdname" nowrap> <em>context</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"> const<code> [pure virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing="5" cellpadding="0" border="0">
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
Returns an <a class="el" href="classATDateOrDerived.html">ATDateOrDerived</a> with a timezone added to it.
|
|
<p>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="ea9fa70905ea850638a36e7ce91f750e"></a><!-- doxytag: member="ATDateOrDerived::addYearMonthDuration" ref="ea9fa70905ea850638a36e7ce91f750e" args="(const ATDurationOrDerived::Ptr &yearMonth, const DynamicContext *context) const =0" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">virtual <a class="el" href="classRefCountPointer.html">ATDateOrDerived::Ptr</a> ATDateOrDerived::addYearMonthDuration </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">const <a class="el" href="classRefCountPointer.html">ATDurationOrDerived::Ptr</a> & </td>
|
|
<td class="mdname" nowrap> <em>yearMonth</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap>const <a class="el" href="classDynamicContext.html">DynamicContext</a> * </td>
|
|
<td class="mdname" nowrap> <em>context</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"> const<code> [pure virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing="5" cellpadding="0" border="0">
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
Returns a date with the given yearMonthDuration added to it.
|
|
<p>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="2f652a807105eaa9932bd2b6f10e320c"></a><!-- doxytag: member="ATDateOrDerived::asString" ref="2f652a807105eaa9932bd2b6f10e320c" args="(const DynamicContext *context) const =0" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">virtual const XMLCh* ATDateOrDerived::asString </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">const <a class="el" href="classDynamicContext.html">DynamicContext</a> * </td>
|
|
<td class="mdname1" valign="top" nowrap> <em>context</em> </td>
|
|
<td class="md" valign="top"> ) </td>
|
|
<td class="md" nowrap> const<code> [pure virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing="5" cellpadding="0" border="0">
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
|
|
<p>
|
|
Implements <a class="el" href="classAnyAtomicType.html#401defae210c75462304e84605a79244">AnyAtomicType</a>. </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="e724e07e038008eb996c2ad7982908d4"></a><!-- doxytag: member="ATDateOrDerived::compare" ref="e724e07e038008eb996c2ad7982908d4" args="(const ATDateOrDerived::Ptr &other, const DynamicContext *context) const =0" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">virtual int ATDateOrDerived::compare </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">const <a class="el" href="classRefCountPointer.html">ATDateOrDerived::Ptr</a> & </td>
|
|
<td class="mdname" nowrap> <em>other</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap>const <a class="el" href="classDynamicContext.html">DynamicContext</a> * </td>
|
|
<td class="mdname" nowrap> <em>context</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"> const<code> [pure virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing="5" cellpadding="0" border="0">
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
Returns less than 0 if this is less that other, 0 if they are the same, and greater than 0 otherwise.
|
|
<p>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="0dc96e16013618d8e5f82da5d8fb8647"></a><!-- doxytag: member="ATDateOrDerived::equals" ref="0dc96e16013618d8e5f82da5d8fb8647" args="(const AnyAtomicType::Ptr &target, const DynamicContext *context) const =0" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">virtual bool ATDateOrDerived::equals </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">const <a class="el" href="classRefCountPointer.html">AnyAtomicType::Ptr</a> & </td>
|
|
<td class="mdname" nowrap> <em>target</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap>const <a class="el" href="classDynamicContext.html">DynamicContext</a> * </td>
|
|
<td class="mdname" nowrap> <em>context</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"> const<code> [pure virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing="5" cellpadding="0" border="0">
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
|
|
<p>
|
|
Implements <a class="el" href="classAnyAtomicType.html#0bdd87c29a1f0a5dc28618859f0c5f4e">AnyAtomicType</a>. </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="f79e3f183597a025e2c0cd29832995dd"></a><!-- doxytag: member="ATDateOrDerived::getDays" ref="f79e3f183597a025e2c0cd29832995dd" args="(const DynamicContext *context) const =0" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">virtual <a class="el" href="classRefCountPointer.html">ATDecimalOrDerived::Ptr</a> ATDateOrDerived::getDays </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">const <a class="el" href="classDynamicContext.html">DynamicContext</a> * </td>
|
|
<td class="mdname1" valign="top" nowrap> <em>context</em> </td>
|
|
<td class="md" valign="top"> ) </td>
|
|
<td class="md" nowrap> const<code> [pure virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing="5" cellpadding="0" border="0">
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
Returns an integer representing the day component of this object.
|
|
<p>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="27c8d7f9685fc94751704c0d538cac57"></a><!-- doxytag: member="ATDateOrDerived::getMonths" ref="27c8d7f9685fc94751704c0d538cac57" args="(const DynamicContext *context) const =0" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">virtual <a class="el" href="classRefCountPointer.html">ATDecimalOrDerived::Ptr</a> ATDateOrDerived::getMonths </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">const <a class="el" href="classDynamicContext.html">DynamicContext</a> * </td>
|
|
<td class="mdname1" valign="top" nowrap> <em>context</em> </td>
|
|
<td class="md" valign="top"> ) </td>
|
|
<td class="md" nowrap> const<code> [pure virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing="5" cellpadding="0" border="0">
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
Returns an integer representing the month component of this object.
|
|
<p>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="5acd6a26b75da8c421b26094b2008ac0"></a><!-- doxytag: member="ATDateOrDerived::getPrimitiveTypeIndex" ref="5acd6a26b75da8c421b26094b2008ac0" args="() const =0" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">virtual <a class="el" href="classAnyAtomicType.html#289c5db5e82b40c2f3e53af7d472f14c">AnyAtomicType::AtomicObjectType</a> ATDateOrDerived::getPrimitiveTypeIndex </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="mdname1" valign="top" nowrap> </td>
|
|
<td class="md" valign="top"> ) </td>
|
|
<td class="md" nowrap> const<code> [pure virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing="5" cellpadding="0" border="0">
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
|
|
<p>
|
|
Implements <a class="el" href="classAnyAtomicType.html#176568ff89d63a208a864d39e6c79dc5">AnyAtomicType</a>. </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="42f3dea424cc19d19a0d4025e4a72e29"></a><!-- doxytag: member="ATDateOrDerived::getPrimitiveTypeName" ref="42f3dea424cc19d19a0d4025e4a72e29" args="() const =0" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">virtual const XMLCh* ATDateOrDerived::getPrimitiveTypeName </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="mdname1" valign="top" nowrap> </td>
|
|
<td class="md" valign="top"> ) </td>
|
|
<td class="md" nowrap> const<code> [pure virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing="5" cellpadding="0" border="0">
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
|
|
<p>
|
|
Implements <a class="el" href="classAnyAtomicType.html#d69ead9a3319cd1b214fd738698994f1">AnyAtomicType</a>. </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="47b9b444b476fe966a36e5108386f72d"></a><!-- doxytag: member="ATDateOrDerived::getTimezone" ref="47b9b444b476fe966a36e5108386f72d" args="() const =0" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">virtual const <a class="el" href="classRefCountPointer.html">Timezone::Ptr</a>& ATDateOrDerived::getTimezone </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="mdname1" valign="top" nowrap> </td>
|
|
<td class="md" valign="top"> ) </td>
|
|
<td class="md" nowrap> const<code> [pure virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing="5" cellpadding="0" border="0">
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
Returns a timezone object representing the timezone component of this object.
|
|
<p>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="ec2e888025153e35395ae176a8ef6f3e"></a><!-- doxytag: member="ATDateOrDerived::getTypeName" ref="ec2e888025153e35395ae176a8ef6f3e" args="() const =0" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">virtual const XMLCh* ATDateOrDerived::getTypeName </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="mdname1" valign="top" nowrap> </td>
|
|
<td class="md" valign="top"> ) </td>
|
|
<td class="md" nowrap> const<code> [pure virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing="5" cellpadding="0" border="0">
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
|
|
<p>
|
|
Implements <a class="el" href="classAnyAtomicType.html#a4c3027d36c7000a1d53974ae77d7a9c">AnyAtomicType</a>. </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="4e06c21a12b1fd08f9128326af32a366"></a><!-- doxytag: member="ATDateOrDerived::getTypeURI" ref="4e06c21a12b1fd08f9128326af32a366" args="() const =0" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">virtual const XMLCh* ATDateOrDerived::getTypeURI </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="mdname1" valign="top" nowrap> </td>
|
|
<td class="md" valign="top"> ) </td>
|
|
<td class="md" nowrap> const<code> [pure virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing="5" cellpadding="0" border="0">
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
|
|
<p>
|
|
Implements <a class="el" href="classAnyAtomicType.html#67113b4effaace8976786fdb59f32036">AnyAtomicType</a>. </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="8de28eca500f5e671d84973b0675b108"></a><!-- doxytag: member="ATDateOrDerived::getYears" ref="8de28eca500f5e671d84973b0675b108" args="(const DynamicContext *context) const =0" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">virtual <a class="el" href="classRefCountPointer.html">ATDecimalOrDerived::Ptr</a> ATDateOrDerived::getYears </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">const <a class="el" href="classDynamicContext.html">DynamicContext</a> * </td>
|
|
<td class="mdname1" valign="top" nowrap> <em>context</em> </td>
|
|
<td class="md" valign="top"> ) </td>
|
|
<td class="md" nowrap> const<code> [pure virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing="5" cellpadding="0" border="0">
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
Returns an integer representing the year component of this object.
|
|
<p>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="191c1534ddef24103ffbf6d3b8e8add2"></a><!-- doxytag: member="ATDateOrDerived::hasTimezone" ref="191c1534ddef24103ffbf6d3b8e8add2" args="() const =0" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">virtual bool ATDateOrDerived::hasTimezone </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="mdname1" valign="top" nowrap> </td>
|
|
<td class="md" valign="top"> ) </td>
|
|
<td class="md" nowrap> const<code> [pure virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing="5" cellpadding="0" border="0">
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
Returns true if the timezone is defined for this object, false otherwise.
|
|
<p>
|
|
|
|
<p>
|
|
Implements <a class="el" href="classDateOrTimeType.html#54f2adf1b5d515b0487abe6e5b808040">DateOrTimeType</a>. </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="c9215275a7ea526d6a52357b9aa99f01"></a><!-- doxytag: member="ATDateOrDerived::setTimezone" ref="c9215275a7ea526d6a52357b9aa99f01" args="(const Timezone::Ptr &timezone, const DynamicContext *context) const =0" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">virtual <a class="el" href="classRefCountPointer.html">ATDateOrDerived::Ptr</a> ATDateOrDerived::setTimezone </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">const <a class="el" href="classRefCountPointer.html">Timezone::Ptr</a> & </td>
|
|
<td class="mdname" nowrap> <em>timezone</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap>const <a class="el" href="classDynamicContext.html">DynamicContext</a> * </td>
|
|
<td class="mdname" nowrap> <em>context</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"> const<code> [pure virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing="5" cellpadding="0" border="0">
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
Setter for timezone.
|
|
<p>
|
|
Overrides the current timezone. (Not to be confused with <a class="el" href="classATDateOrDerived.html#c3393cdb67011bd0bee8b70b55d1f9b2">addTimezone()</a>. </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="6d9506870ecfae3d98d6ea82a0faf38f"></a><!-- doxytag: member="ATDateOrDerived::subtractDate" ref="6d9506870ecfae3d98d6ea82a0faf38f" args="(const ATDateOrDerived::Ptr &date, const DynamicContext *context) const =0" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">virtual <a class="el" href="classRefCountPointer.html">ATDurationOrDerived::Ptr</a> ATDateOrDerived::subtractDate </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">const <a class="el" href="classRefCountPointer.html">ATDateOrDerived::Ptr</a> & </td>
|
|
<td class="mdname" nowrap> <em>date</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap>const <a class="el" href="classDynamicContext.html">DynamicContext</a> * </td>
|
|
<td class="mdname" nowrap> <em>context</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"> const<code> [pure virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing="5" cellpadding="0" border="0">
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
Returns a dayTimeDuration corresponding to the difference between this and the given ATDateOrDerived*.
|
|
<p>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="bdd73c4576a1b610796515f52f353cc4"></a><!-- doxytag: member="ATDateOrDerived::subtractDayTimeDuration" ref="bdd73c4576a1b610796515f52f353cc4" args="(const ATDurationOrDerived::Ptr &dayTime, const DynamicContext *context) const =0" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">virtual <a class="el" href="classRefCountPointer.html">ATDateOrDerived::Ptr</a> ATDateOrDerived::subtractDayTimeDuration </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">const <a class="el" href="classRefCountPointer.html">ATDurationOrDerived::Ptr</a> & </td>
|
|
<td class="mdname" nowrap> <em>dayTime</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap>const <a class="el" href="classDynamicContext.html">DynamicContext</a> * </td>
|
|
<td class="mdname" nowrap> <em>context</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"> const<code> [pure virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing="5" cellpadding="0" border="0">
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
Returns a date with the given dayTimeDuration subtracted from it.
|
|
<p>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="bbb69fc752cc785e76d8ab96814dafde"></a><!-- doxytag: member="ATDateOrDerived::subtractYearMonthDuration" ref="bbb69fc752cc785e76d8ab96814dafde" args="(const ATDurationOrDerived::Ptr &yearMonth, const DynamicContext *context) const =0" --><p>
|
|
<table class="mdTable" cellpadding="2" cellspacing="0">
|
|
<tr>
|
|
<td class="mdRow">
|
|
<table cellpadding="0" cellspacing="0" border="0">
|
|
<tr>
|
|
<td class="md" nowrap valign="top">virtual <a class="el" href="classRefCountPointer.html">ATDateOrDerived::Ptr</a> ATDateOrDerived::subtractYearMonthDuration </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">const <a class="el" href="classRefCountPointer.html">ATDurationOrDerived::Ptr</a> & </td>
|
|
<td class="mdname" nowrap> <em>yearMonth</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap>const <a class="el" href="classDynamicContext.html">DynamicContext</a> * </td>
|
|
<td class="mdname" nowrap> <em>context</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"> const<code> [pure virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing="5" cellpadding="0" border="0">
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
Returns a date with the given yearMonthDuration subtracted from it.
|
|
<p>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<hr>The documentation for this class was generated from the following file:<ul>
|
|
<li><a class="el" href="ATDateOrDerived_8hpp-source.html">ATDateOrDerived.hpp</a></ul>
|
|
<hr size="1"><address style="align: right;"><small>Generated on Tue Dec 12 00:18:56 2006 for XQilla Simple API by
|
|
<a href="http://www.doxygen.org/index.html">
|
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6 </small></address>
|
|
</body>
|
|
</html>
|