<h1>ATTimeOrDerived.hpp</h1><ahref="ATTimeOrDerived_8hpp.html">Go to the documentation of this file.</a><divclass="fragment"><preclass="fragment"><aname="l00001"></a>00001 <spanclass="comment">/*</span>
<aname="l00036"></a><aclass="code"href="classATTimeOrDerived.html#a23c6e22e49fe6e450d867689a6942dda">00036</a><spanclass="keyword">typedef</span><aclass="code"href="classRefCountPointer.html"title="Super class of all the reference counted wrappers for Items.">RefCountPointer<const ATTimeOrDerived></a><aclass="code"href="classRefCountPointer.html"title="Super class of all the reference counted wrappers for Items.">Ptr</a>;
<aname="l00037"></a>00037
<aname="l00038"></a>00038 <spanclass="comment">/* Get the name of the primitive type (basic type) of this type</span>
<aname="l00039"></a>00039 <spanclass="comment"> * (ie "decimal" for xs:decimal) */</span>
<aname="l00053"></a>00053 <spanclass="keyword">virtual</span><spanclass="keywordtype">bool</span><aclass="code"href="classAnyAtomicType.html#a0bdd87c29a1f0a5dc28618859f0c5f4e">equals</a>(<spanclass="keyword">const</span><aclass="code"href="classRefCountPointer.html"title="Super class of all the reference counted wrappers for Items.">AnyAtomicType::Ptr</a>&target, <spanclass="keyword">const</span><aclass="code"href="classDynamicContext.html"title="The execution time dynamic context interface.">DynamicContext</a>* context) <spanclass="keyword">const</span> = 0;
<aname="l00054"></a>00054
<aname="l00057"></a>00057 <spanclass="keyword">virtual</span><spanclass="keywordtype">int</span> compare(<spanclass="keyword">const</span><aclass="code"href="classRefCountPointer.html"title="Super class of all the reference counted wrappers for Items.">ATTimeOrDerived::Ptr</a>&other, <spanclass="keyword">const</span><aclass="code"href="classDynamicContext.html"title="The execution time dynamic context interface.">DynamicContext</a> *context) <spanclass="keyword">const</span> = 0;
<aname="l00058"></a>00058
<aname="l00062"></a>00062 <spanclass="keyword">virtual</span><aclass="code"href="classRefCountPointer.html"title="Super class of all the reference counted wrappers for Items.">ATDecimalOrDerived::Ptr</a> getHours(<spanclass="keyword">const</span><aclass="code"href="classDynamicContext.html"title="The execution time dynamic context interface.">DynamicContext</a> *context) <spanclass="keyword">const</span> = 0;
<aname="l00063"></a>00063
<aname="l00067"></a>00067 <spanclass="keyword">virtual</span><aclass="code"href="classRefCountPointer.html"title="Super class of all the reference counted wrappers for Items.">ATDecimalOrDerived::Ptr</a> getMinutes(<spanclass="keyword">const</span><aclass="code"href="classDynamicContext.html"title="The execution time dynamic context interface.">DynamicContext</a> *context) <spanclass="keyword">const</span> = 0;
<aname="l00068"></a>00068
<aname="l00072"></a>00072 <spanclass="keyword">virtual</span><aclass="code"href="classRefCountPointer.html"title="Super class of all the reference counted wrappers for Items.">ATDecimalOrDerived::Ptr</a> getSeconds(<spanclass="keyword">const</span><aclass="code"href="classDynamicContext.html"title="The execution time dynamic context interface.">DynamicContext</a> *context) <spanclass="keyword">const</span> = 0;
<aname="l00073"></a>00073
<aname="l00077"></a>00077 <spanclass="keyword">virtual</span><spanclass="keyword">const</span><aclass="code"href="classRefCountPointer.html"title="Super class of all the reference counted wrappers for Items.">Timezone::Ptr</a>&getTimezone() <spanclass="keyword">const</span> = 0;
<aname="l00078"></a>00078
<aname="l00082"></a>00082 <spanclass="keyword">virtual</span><spanclass="keywordtype">bool</span><aclass="code"href="classDateOrTimeType.html#a54f2adf1b5d515b0487abe6e5b808040"title="Returns true if the timezone is defined for this object, false otherwise.">hasTimezone</a>() <spanclass="keyword">const</span> = 0;
<aname="l00083"></a>00083
<aname="l00088"></a>00088 <spanclass="keyword">virtual</span><aclass="code"href="classRefCountPointer.html"title="Super class of all the reference counted wrappers for Items.">ATTimeOrDerived::Ptr</a> setTimezone(<spanclass="keyword">const</span><aclass="code"href="classRefCountPointer.html"title="Super class of all the reference counted wrappers for Items.">Timezone::Ptr</a>&timezone, <spanclass="keyword">const</span><aclass="code"href="classDynamicContext.html"title="The execution time dynamic context interface.">DynamicContext</a>* context) <spanclass="keyword">const</span> = 0;
<aname="l00089"></a>00089
<aname="l00093"></a>00093 <spanclass="keyword">virtual</span><aclass="code"href="classRefCountPointer.html"title="Super class of all the reference counted wrappers for Items.">ATTimeOrDerived::Ptr</a> addTimezone(<spanclass="keyword">const</span><aclass="code"href="classRefCountPointer.html"title="Super class of all the reference counted wrappers for Items.">ATDurationOrDerived::Ptr</a>&timezone,
<aname="l00099"></a>00099 <spanclass="keyword">virtual</span><aclass="code"href="classRefCountPointer.html"title="Super class of all the reference counted wrappers for Items.">ATTimeOrDerived::Ptr</a> addDayTimeDuration(<spanclass="keyword">const</span><aclass="code"href="classRefCountPointer.html"title="Super class of all the reference counted wrappers for Items.">ATDurationOrDerived::Ptr</a>&dayTime,
<aname="l00105"></a>00105 <spanclass="keyword">virtual</span><aclass="code"href="classRefCountPointer.html"title="Super class of all the reference counted wrappers for Items.">ATTimeOrDerived::Ptr</a> subtractDayTimeDuration(<spanclass="keyword">const</span><aclass="code"href="classRefCountPointer.html"title="Super class of all the reference counted wrappers for Items.">ATDurationOrDerived::Ptr</a>&dayTime,
<aname="l00112"></a>00112 <spanclass="keyword">virtual</span><aclass="code"href="classRefCountPointer.html"title="Super class of all the reference counted wrappers for Items.">ATDurationOrDerived::Ptr</a> subtractTime(<spanclass="keyword">const</span><aclass="code"href="classRefCountPointer.html"title="Super class of all the reference counted wrappers for Items.">ATTimeOrDerived::Ptr</a>&time, <spanclass="keyword">const</span><aclass="code"href="classDynamicContext.html"title="The execution time dynamic context interface.">DynamicContext</a>* context) <spanclass="keyword">const</span> = 0;