347 lines
16 KiB
HTML
347 lines
16 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: Timezone 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>Timezone Class Reference</h1><!-- doxytag: class="Timezone" --><!-- doxytag: inherits="ReferenceCounted" --><code>#include <<a class="el" href="Timezone_8hpp-source.html">Timezone.hpp</a>></code>
|
|
<p>
|
|
Inheritance diagram for Timezone:<p><center><img src="classTimezone__inherit__graph.png" border="0" usemap="#Timezone__inherit__map" alt="Inheritance graph"></center>
|
|
<map name="Timezone__inherit__map">
|
|
<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="classTimezone-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="classTimezone.html">Timezone</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classTimezone.html#3114e9a999aa7d489e42cf1751da6a2c">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"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classTimezone.html#d6de4d7e7919efd4ac234527582969e2">Timezone</a> (const MAPM &seconds)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor. <a href="#d6de4d7e7919efd4ac234527582969e2"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classTimezone.html#91b37348c6ab14e7a6b566f56efaa071">Timezone</a> (const <a class="el" href="classRefCountPointer.html">ATDurationOrDerived::Ptr</a> &duration, const <a class="el" href="classDynamicContext.html">DynamicContext</a> *context)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor. <a href="#91b37348c6ab14e7a6b566f56efaa071"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classTimezone.html#a4e7cd62a73beb70ae12541586711de0">equals</a> (const <a class="el" href="classRefCountPointer.html">Timezone::Ptr</a> &other) const </td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns true if other is equal to this, false otherwise. <a href="#a4e7cd62a73beb70ae12541586711de0"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classRefCountPointer.html">ATDurationOrDerived::Ptr</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classTimezone.html#650b0d1cad584a4240fddb5eceedf457">asDayTimeDuration</a> (const <a class="el" href="classDynamicContext.html">DynamicContext</a> *context) const </td></tr>
|
|
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">const XMLCh * </td><td class="memItemRight" valign="bottom"><a class="el" href="classTimezone.html#0b8148b4c6fa10a1070c7086933422ac">asString</a> (const <a class="el" href="classDynamicContext.html">DynamicContext</a> *context) const </td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns a string representation of this <a class="el" href="classTimezone.html">Timezone</a>. <a href="#0b8148b4c6fa10a1070c7086933422ac"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">const MAPM & </td><td class="memItemRight" valign="bottom"><a class="el" href="classTimezone.html#155a5df6e710b94687c28500a54046e6">asSeconds</a> () const </td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the whole timezone expressed in seconds. <a href="#155a5df6e710b94687c28500a54046e6"></a><br></td></tr>
|
|
<tr><td colspan="2"><br><h2>Static Public Member Functions</h2></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">static MAPM </td><td class="memItemRight" valign="bottom"><a class="el" href="classTimezone.html#54cc8874c28699d09142c6cb3e4760d0">convert</a> (bool positive, int hour, int minute)</td></tr>
|
|
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="classTimezone.html#136b61340cfdb5c6f514fabd6d5b6ba9">validate</a> (const MAPM &tz)</td></tr>
|
|
|
|
</table>
|
|
<hr><h2>Member Typedef Documentation</h2>
|
|
<a class="anchor" name="3114e9a999aa7d489e42cf1751da6a2c"></a><!-- doxytag: member="Timezone::Ptr" ref="3114e9a999aa7d489e42cf1751da6a2c" 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="classTimezone.html">Timezone</a>> <a class="el" href="classRefCountPointer.html">Timezone::Ptr</a> </td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing="5" cellpadding="0" border="0">
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<hr><h2>Constructor & Destructor Documentation</h2>
|
|
<a class="anchor" name="d6de4d7e7919efd4ac234527582969e2"></a><!-- doxytag: member="Timezone::Timezone" ref="d6de4d7e7919efd4ac234527582969e2" args="(const MAPM &seconds)" --><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">Timezone::Timezone </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">const MAPM & </td>
|
|
<td class="mdname1" valign="top" nowrap> <em>seconds</em> </td>
|
|
<td class="md" valign="top"> ) </td>
|
|
<td class="md" nowrap></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing="5" cellpadding="0" border="0">
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
Constructor.
|
|
<p>
|
|
Creates a <a class="el" href="classTimezone.html">Timezone</a> representing the given number of seconds. </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="91b37348c6ab14e7a6b566f56efaa071"></a><!-- doxytag: member="Timezone::Timezone" ref="91b37348c6ab14e7a6b566f56efaa071" args="(const ATDurationOrDerived::Ptr &duration, const DynamicContext *context)" --><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">Timezone::Timezone </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>duration</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"></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing="5" cellpadding="0" border="0">
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
Constructor.
|
|
<p>
|
|
Creates a <a class="el" href="classTimezone.html">Timezone</a> representing the given duration. </td>
|
|
</tr>
|
|
</table>
|
|
<hr><h2>Member Function Documentation</h2>
|
|
<a class="anchor" name="650b0d1cad584a4240fddb5eceedf457"></a><!-- doxytag: member="Timezone::asDayTimeDuration" ref="650b0d1cad584a4240fddb5eceedf457" args="(const DynamicContext *context) const " --><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"><a class="el" href="classRefCountPointer.html">ATDurationOrDerived::Ptr</a> Timezone::asDayTimeDuration </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</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing="5" cellpadding="0" border="0">
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="155a5df6e710b94687c28500a54046e6"></a><!-- doxytag: member="Timezone::asSeconds" ref="155a5df6e710b94687c28500a54046e6" args="() const " --><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">const MAPM& Timezone::asSeconds </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> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing="5" cellpadding="0" border="0">
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
Returns the whole timezone expressed in seconds.
|
|
<p>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="0b8148b4c6fa10a1070c7086933422ac"></a><!-- doxytag: member="Timezone::asString" ref="0b8148b4c6fa10a1070c7086933422ac" args="(const DynamicContext *context) const " --><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">const XMLCh* Timezone::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</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing="5" cellpadding="0" border="0">
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
Returns a string representation of this <a class="el" href="classTimezone.html">Timezone</a>.
|
|
<p>
|
|
If positive, does print leading '+' sign, and if UTC returns "Z". </td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="54cc8874c28699d09142c6cb3e4760d0"></a><!-- doxytag: member="Timezone::convert" ref="54cc8874c28699d09142c6cb3e4760d0" args="(bool positive, int hour, int minute)" --><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">static MAPM Timezone::convert </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">bool </td>
|
|
<td class="mdname" nowrap> <em>positive</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap>int </td>
|
|
<td class="mdname" nowrap> <em>hour</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap align="right"></td>
|
|
<td class="md"></td>
|
|
<td class="md" nowrap>int </td>
|
|
<td class="mdname" nowrap> <em>minute</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"><code> [static]</code></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing="5" cellpadding="0" border="0">
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="a4e7cd62a73beb70ae12541586711de0"></a><!-- doxytag: member="Timezone::equals" ref="a4e7cd62a73beb70ae12541586711de0" args="(const Timezone::Ptr &other) const " --><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">bool Timezone::equals </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="mdname1" valign="top" nowrap> <em>other</em> </td>
|
|
<td class="md" valign="top"> ) </td>
|
|
<td class="md" nowrap> const</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing="5" cellpadding="0" border="0">
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
Returns true if other is equal to this, false otherwise.
|
|
<p>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<a class="anchor" name="136b61340cfdb5c6f514fabd6d5b6ba9"></a><!-- doxytag: member="Timezone::validate" ref="136b61340cfdb5c6f514fabd6d5b6ba9" args="(const MAPM &tz)" --><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">static void Timezone::validate </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">const MAPM & </td>
|
|
<td class="mdname1" valign="top" nowrap> <em>tz</em> </td>
|
|
<td class="md" valign="top"> ) </td>
|
|
<td class="md" nowrap><code> [static]</code></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing="5" cellpadding="0" border="0">
|
|
<tr>
|
|
<td>
|
|
|
|
</td>
|
|
<td>
|
|
|
|
<p>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<hr>The documentation for this class was generated from the following file:<ul>
|
|
<li><a class="el" href="Timezone_8hpp-source.html">Timezone.hpp</a></ul>
|
|
<hr size="1"><address style="align: right;"><small>Generated on Tue Dec 12 00:18:57 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>
|