MINI SHELL

Server : Apache/2.2.2 (Fedora)
System : Linux App1.pathumtani.go.th 2.6.20-1.2320.fc5smp #1 SMP Tue Jun 12 19:40:16 EDT 2007 i686
User : apache ( 48)
PHP Version : 5.2.9
Disable Function : NONE
Directory :  /proc/self/root/usr/lib/python2.4/site-packages/mx/DateTime/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //proc/self/root/usr/lib/python2.4/site-packages/mx/DateTime/ODMG.pyc
mō
ôÔ5;c@sųdZdZdZdkZdfd„ƒYZdfd„ƒYZdefd	„ƒYZd
fd„ƒYZdfd
„ƒYZe	djokedddƒZ
edddƒZedddƒZei
dƒedddƒZedddƒZndS(sY ODMG type classes for date/time handling

    These are built on top of the basic DateTime[Delta] types and
    include rudimentary time zone handling through an offset in
    minutes. It is the applications responsibility to set the offset
    to correct values. The offsets are then used in date calculations.

    The implementation has not yet been thoroughly tested, but
    provides a good example of the swiftness with which you can build
    new date/time classes on top of the two basic types. If you find
    any errors or would like to see new features, mail them to
    mal@lemburg.com.

s0.1alphas*Marc-Andre Lemburg, mailto:mal@lemburg.comNt_EmptyClasscBstZRS(N(t__name__t
__module__(((t4/usr/lib/python2.4/site-packages/mx/DateTime/ODMG.pyRstDatecBsMtZdZd„Zd„Zd„Zd„Zd„Zd„Zd„Z	RS(	NicGstti|ƒ|_dS(N(tapplytDateTimetargstselftdata(RR((Rt__init__scCs
||_dS(N(toffsetR(RR((Rtset_timezonescCst|i|ƒS(N(tgetattrRR	twhat(RR((Rt__getattr__"scCsât|tƒov|i|ijo0|i|iti|i|iti}n|i|i}t	ƒ}t|_||_|SnYt|tƒo?|i|i}t	ƒ}t|_||_|i|_|Sn
t
d‚dS(Nsoperation not supported(t
isinstancetotherRRRR	Rt	oneMinutetdRtotIntervalt	__class__t	TypeError(RRRR((Rt__sub__&s 0						cCs\t|tƒo?|i|i}tƒ}t|_	||_|i
|_
|Sn
td‚dS(Nsoperation not supported(RRRRR	RRRRRRR(RRRR((Rt__add__>s			cCs
t|iƒS(N(tstrRR	(R((Rt__str__JscCsdt|iƒt|ƒfS(Ns<Date object for "%s" at %x>(RRR	tid(R((Rt__repr__Ms(
RRRR
RRRRRR(((RRs						t	TimestampcBstZd„ZRS(NcCsdt|iƒt|ƒfS(Ns!<Timestamp object for "%s" at %x>(RRR	R(R((RRRs(RRR(((RRPstTimecBs>tZd„Zd„Zd„Zd„Zd„Zd„ZRS(NcGstti|ƒ|_dS(N(RRt	TimeDeltaRRR	(RR((RR
WscCst|i|ƒS(N(R
RR	R(RR((RR[scCs“t|tƒo3|i|i}tƒ}t|_	||_|SnMt|tƒo3|i|i}tƒ}t|_	||_|Sn
t
d‚dS(Nsoperation not supported(RRRRR	RRRRRR(RRRR((RR_s						cCs“t|tƒo3|i|i}tƒ}t|_	||_|SnMt|tƒo3|i|i}tƒ}t|_	||_|Sn
t
d‚dS(Nsoperation not supported(RRRRR	RRRRRR(RRRR((RRps						cCs
t|iƒS(N(RRR	(R((RRscCsdt|iƒt|ƒfS(Ns<Time object for "%s" at %x>(RRR	R(R((RR„s(RRR
RRRRR(((RRUs					RcBsVtZd„Zd„Zd„Zd„Zd„ZeZd„Zd„Z	d„Z
RS(	NcGstti|ƒ|_dS(N(RRt
DateTimeDeltaRRR	(RR((RR
‰scCst|i|ƒS(N(R
RR	R(RR((RRscCsPt|tƒo3|i|i}tƒ}t|_||_|Sn
t	d‚dS(Nsoperation not supported(
RRRRR	RRRRR(RRRR((RR‘s			cCsPt|tƒo3|i|i}tƒ}t|_||_|Sn
t	d‚dS(Nsoperation not supported(
RRRRR	RRRRR(RRRR((RRœs			cCs8t|ƒ}||i}tƒ}t|_	||_|S(N(
tfloatRtvalueRR	RRRRR(RRRRR#((Rt__mul__§s
			cCs8t|ƒ}|i|}tƒ}t|_	||_|S(N(
R"RR#RR	RRRRR(RRRRR#((Rt__div__ąs
			cCs
t|iƒS(N(RRR	(R((RRšscCsdt|iƒt|ƒfS(Ns <Interval object for "%s" at %x>(RRR	R(R((RR―s(RRR
RRRR$t__rmul__R%RR(((RR‡s								t__main__iÎiiii<iii
(t__doc__t__version__t
__author__RRRRRRRRtetfRtttu(
R+RR,RRRR*R.R-RRRR)((Rt?s	:29



Anon7 - 2021