~ubuntu-branches/ubuntu/hardy/psycopg2/hardy

« back to all changes in this revision

Viewing changes to doc/api/public/psycopg2.tz-module.html

  • Committer: Bazaar Package Importer
  • Author(s): Fabio Tranchitella
  • Date: 2006-08-09 10:28:30 UTC
  • Revision ID: james.westby@ubuntu.com-20060809102830-grac1dsp24uyqfp4
Tags: upstream-2.0.4
ImportĀ upstreamĀ versionĀ 2.0.4

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="utf-8"?>
 
2
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
 
3
          "DTD/xhtml1-transitional.dtd">
 
4
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
 
5
<head>
 
6
  <title>psycopg2.tz</title>
 
7
  <link rel="stylesheet" href="epydoc.css" type="text/css" />
 
8
<script type="text/javascript">
 
9
<!--
 
10
function setFrame(url1, url2){
 
11
    parent.frames[1].location.href = url1;
 
12
    parent.frames[2].location.href = url2;
 
13
}
 
14
-->
 
15
</script>
 
16
</head>
 
17
<body bgcolor="white" text="black" link="blue" vlink="#204080"
 
18
      alink="#204080">
 
19
 
 
20
<!-- =========== START OF NAVBAR =========== -->
 
21
<table class="navbar" border="0" width="100%" cellpadding="0" bgcolor="#a0c0ff" cellspacing="0">
 
22
  <tr valign="middle">
 
23
    <th class="navbar">&nbsp;&nbsp;&nbsp;<a class="navbar" href="psycopg2-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
 
24
    <th class="navbar">&nbsp;&nbsp;&nbsp;<a class="navbar" href="trees.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
 
25
    <th class="navbar">&nbsp;&nbsp;&nbsp;<a class="navbar" href="indices.html">Index</a>&nbsp;&nbsp;&nbsp;</th>
 
26
    <th class="navbar">&nbsp;&nbsp;&nbsp;<a class="navbar" href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
 
27
    <th class="navbar" width="100%"></th>
 
28
  </tr>
 
29
</table>
 
30
<table width="100%" cellpadding="0" cellspacing="0">
 
31
  <tr valign="top">
 
32
    <td width="100%">
 
33
      <span class="breadcrumbs">
 
34
        <a href="psycopg2-module.html">Package&nbsp;psycopg2</a> ::
 
35
        Module&nbsp;tz
 
36
      </span><br />
 
37
    </td>
 
38
    <td><table cellpadding="0" cellspacing="0">
 
39
      <tr><td align="right"><span class="options">[<a href="../private/psycopg2.tz-module.html">show&nbsp;private</a>&nbsp;|&nbsp;hide&nbsp;private]</span></td></tr>
 
40
      <tr><td align="right"><span class="options">[<a href="frames.html" target="_top">frames</a>&nbsp;|&nbsp;<a href="psycopg2.tz-module.html" target="_top">no&nbsp;frames</a>]</span></td></tr>
 
41
    </table></td>
 
42
</tr></table>
 
43
 
 
44
<!-- =========== START OF MODULE DESCRIPTION =========== -->
 
45
<h2 class="module">Module psycopg2.tz</h2>
 
46
 
 
47
<p>tzinfo implementations for psycopg2</p>
 
48
<p>This module holds two different tzinfo implementations that can be used as
 
49
the 'tzinfo' argument to datetime constructors, directly passed to psycopg
 
50
functions or used to set the .tzinfo_factory attribute in cursors.</p>
 
51
<hr/>
 
52
 
 
53
<!-- =========== START OF CLASSES =========== -->
 
54
<table class="summary" border="1" cellpadding="3" cellspacing="0" width="100%" bgcolor="white">
 
55
<tr bgcolor="#70b0f0" class="summary">
 
56
  <th colspan="2">Classes</th></tr>
 
57
<tr><td width="15%">
 
58
  <strong><a href="psycopg2.tz.FixedOffsetTimezone-class.html"><code>FixedOffsetTimezone</code></a></strong></td>
 
59
  <td>Fixed offset in minutes east from UTC.</td></tr>
 
60
<tr><td width="15%">
 
61
  <strong><a href="psycopg2.tz.LocalTimezone-class.html"><code>LocalTimezone</code></a></strong></td>
 
62
  <td>Platform idea of local timezone.</td></tr>
 
63
</table><br />
 
64
 
 
65
 
 
66
<!-- =========== START OF VARIABLE SUMMARY =========== -->
 
67
<table class="summary" border="1" cellpadding="3" cellspacing="0" width="100%" bgcolor="white">
 
68
<tr bgcolor="#70b0f0" class="summary">
 
69
  <th colspan="2">Variable Summary</th></tr>
 
70
<tr><td align="right" valign="top" width="15%" class="vtype"><code>timedelta</code></td>
 
71
<td><strong><a href="psycopg2.tz-module.html#DSTDIFF"><code>DSTDIFF</code></a></strong> = <span title="datetime.timedelta(0, 3600)"><code>datetime.timedelta(0,&nbsp;3600)                    </code>
 
72
</span></td></tr>
 
73
<tr><td align="right" valign="top" width="15%" class="vtype"><code>LocalTimezone</code></td>
 
74
<td><strong><a href="psycopg2.tz-module.html#LOCAL"><code>LOCAL</code></a></strong> = <span title="&lt;psycopg2.tz.LocalTimezone object at 0x00847090&gt;"><code>&lt;psycopg2.tz.LocalTimezone&nbsp;object&nbsp;at&nbsp;0x00847090&gt; </code>
 
75
</span></td></tr>
 
76
<tr><td align="right" valign="top" width="15%" class="vtype"><code>timedelta</code></td>
 
77
<td><strong><a href="psycopg2.tz-module.html#STDOFFSET"><code>STDOFFSET</code></a></strong> = <span title="datetime.timedelta(0, 3600)"><code>datetime.timedelta(0,&nbsp;3600)                  </code>
 
78
</span></td></tr>
 
79
<tr><td align="right" valign="top" width="15%" class="vtype"><code>timedelta</code></td>
 
80
<td><strong><a href="psycopg2.tz-module.html#ZERO"><code>ZERO</code></a></strong> = <span title="datetime.timedelta(0)"><code>datetime.timedelta(0)                             </code>
 
81
</span></td></tr>
 
82
</table><br />
 
83
 
 
84
 
 
85
<!-- =========== START OF VARIABLE DETAILS =========== -->
 
86
<table class="details" border="1" cellpadding="3" cellspacing="0" width="100%" bgcolor="white">
 
87
<tr bgcolor="#70b0f0" class="details">
 
88
  <th colspan="2">Variable Details</th></tr>
 
89
</table>
 
90
<table width="100%" class="var-details" bgcolor="#e0e0e0"><tr><td>
 
91
<a name="DSTDIFF"></a>
 
92
<h3>DSTDIFF</h3>
 
93
<dl>
 
94
  <dt></dt>
 
95
  <dd>
 
96
    <dl>
 
97
      <dt>Type:</dt>
 
98
      <dd>
 
99
          <code>timedelta</code>
 
100
 
 
101
      </dd>
 
102
      <dt title="datetime.timedelta(0, 3600)">Value:</dt>
 
103
      <dd title="datetime.timedelta(0, 3600)"><table><tr><td>
 
104
<pre class="variable">
 
105
datetime.timedelta(0, 3600)                                            </pre>
 
106
        </td></tr></table></dd>
 
107
    </dl>
 
108
  </dd>
 
109
</dl></td></tr></table>
 
110
<table width="100%" class="var-details" bgcolor="#e0e0e0"><tr><td>
 
111
<a name="LOCAL"></a>
 
112
<h3>LOCAL</h3>
 
113
<dl>
 
114
  <dt></dt>
 
115
  <dd>
 
116
    <dl>
 
117
      <dt>Type:</dt>
 
118
      <dd>
 
119
          <code>LocalTimezone</code>
 
120
 
 
121
      </dd>
 
122
      <dt title="&lt;psycopg2.tz.LocalTimezone object at 0x00847090&gt;">Value:</dt>
 
123
      <dd title="&lt;psycopg2.tz.LocalTimezone object at 0x00847090&gt;"><table><tr><td>
 
124
<pre class="variable">
 
125
&lt;psycopg2.tz.LocalTimezone object at 0x00847090&gt;                       </pre>
 
126
        </td></tr></table></dd>
 
127
    </dl>
 
128
  </dd>
 
129
</dl></td></tr></table>
 
130
<table width="100%" class="var-details" bgcolor="#e0e0e0"><tr><td>
 
131
<a name="STDOFFSET"></a>
 
132
<h3>STDOFFSET</h3>
 
133
<dl>
 
134
  <dt></dt>
 
135
  <dd>
 
136
    <dl>
 
137
      <dt>Type:</dt>
 
138
      <dd>
 
139
          <code>timedelta</code>
 
140
 
 
141
      </dd>
 
142
      <dt title="datetime.timedelta(0, 3600)">Value:</dt>
 
143
      <dd title="datetime.timedelta(0, 3600)"><table><tr><td>
 
144
<pre class="variable">
 
145
datetime.timedelta(0, 3600)                                            </pre>
 
146
        </td></tr></table></dd>
 
147
    </dl>
 
148
  </dd>
 
149
</dl></td></tr></table>
 
150
<table width="100%" class="var-details" bgcolor="#e0e0e0"><tr><td>
 
151
<a name="ZERO"></a>
 
152
<h3>ZERO</h3>
 
153
<dl>
 
154
  <dt></dt>
 
155
  <dd>
 
156
    <dl>
 
157
      <dt>Type:</dt>
 
158
      <dd>
 
159
          <code>timedelta</code>
 
160
 
 
161
      </dd>
 
162
      <dt title="datetime.timedelta(0)">Value:</dt>
 
163
      <dd title="datetime.timedelta(0)"><table><tr><td>
 
164
<pre class="variable">
 
165
datetime.timedelta(0)                                                  </pre>
 
166
        </td></tr></table></dd>
 
167
    </dl>
 
168
  </dd>
 
169
</dl></td></tr></table>
 
170
<br />
 
171
 
 
172
 
 
173
<!-- =========== START OF NAVBAR =========== -->
 
174
<table class="navbar" border="0" width="100%" cellpadding="0" bgcolor="#a0c0ff" cellspacing="0">
 
175
  <tr valign="middle">
 
176
    <th class="navbar">&nbsp;&nbsp;&nbsp;<a class="navbar" href="psycopg2-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
 
177
    <th class="navbar">&nbsp;&nbsp;&nbsp;<a class="navbar" href="trees.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
 
178
    <th class="navbar">&nbsp;&nbsp;&nbsp;<a class="navbar" href="indices.html">Index</a>&nbsp;&nbsp;&nbsp;</th>
 
179
    <th class="navbar">&nbsp;&nbsp;&nbsp;<a class="navbar" href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
 
180
    <th class="navbar" width="100%"></th>
 
181
  </tr>
 
182
</table>
 
183
 
 
184
<table border="0" cellpadding="0" cellspacing="0" width="100%">
 
185
  <tr>
 
186
    <td align="left" class="footer">Generated by Epydoc 2.1 on Sat Jan 14 01:42:37 2006</td>
 
187
    <td align="right" class="footer">
 
188
      <a href="http://epydoc.sourceforge.net">http://epydoc.sf.net</a>
 
189
    </td>
 
190
  </tr>
 
191
</table>
 
192
</body>
 
193
</html>