X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=psycopg2%2Fdoc%2Fapi%2Fprivate%2Fpsycopg2.tz.FixedOffsetTimezone-class.html;fp=psycopg2%2Fdoc%2Fapi%2Fprivate%2Fpsycopg2.tz.FixedOffsetTimezone-class.html;h=4e6d6586a3f7ac6f3944bf00e87eadbda92bc0ca;hb=e5bdc26e1423689c0ab3204931335787737946ea;hp=0000000000000000000000000000000000000000;hpb=f8dd312990da7cc744e1c148bfd395c18492f3f1;p=plcapi.git diff --git a/psycopg2/doc/api/private/psycopg2.tz.FixedOffsetTimezone-class.html b/psycopg2/doc/api/private/psycopg2.tz.FixedOffsetTimezone-class.html new file mode 100644 index 0000000..4e6d658 --- /dev/null +++ b/psycopg2/doc/api/private/psycopg2.tz.FixedOffsetTimezone-class.html @@ -0,0 +1,273 @@ + + + +
+Home | +Trees | +Index | +Help | ++ |
---|
+ + |
+
+object
--+ + | +tzinfo
--+ + | + FixedOffsetTimezone +
Fixed offset in minutes east from UTC.
+This is exactly the implementation found in Python 2.3.x documentation, +with a small change to the __init__ method to allow for pickling and a +default name in the form 'sHH:MM' ('s' is the sign.)
+Method Summary | |
---|---|
+ | __init__(self,
+ offset,
+ name)
+ |
+ | dst(self,
+ dt)
+ |
+ | tzname(self,
+ dt)
+ |
+ | utcoffset(self,
+ dt)
+ |
Inherited from tzinfo | |
+ |
++x.__getattribute__('name') <==> x.name |
+ |
++Return a new object with type S, a subtype of T... |
+ |
++-> (cls, state) |
+ |
++datetime in UTC -> datetime in local time. |
Inherited from object | |
+ |
++x.__delattr__('name') <==> del x.name |
+ |
++Return hash(x)... |
+ |
++helper for pickle |
+ |
++Return repr(x)... |
+ |
++x.__setattr__('name', value) <==> x.name = value |
+ |
++Return str(x)... |
Class Variable Summary | |
---|---|
NoneType |
+_name = None |
timedelta |
+_offset = datetime.timedelta(0)
+ |
Method Details |
---|
+ __init__(self,
+ offset=None,
+ name=None)
+
+ |
+ dst(self, + dt) ++
|
+ tzname(self, + dt) ++
|
+ utcoffset(self, + dt) ++
|
Class Variable Details |
---|
+
+_name+
|
+
+_offset+
|
Home | +Trees | +Index | +Help | ++ |
---|
Generated by Epydoc 2.1 on Sat Jan 14 01:42:36 2006 | ++ http://epydoc.sf.net + | +