-í
€š<c       s  d  k  Td k  l Z d k Z d k Z d k Z d Ge GHHe o d GHHe i d ƒ n e d d ƒ Z Z	 e GHe
 e ƒ GHe e ƒ Z d Ge GHd	 Ge i e ƒ Gd
 GHd Ge i e ƒ GHd Ge i ƒ  GHHe d d ƒ Z Z e GHe
 e ƒ GHe e ƒ Z d Ge GHd	 Ge i e ƒ Gd
 GHd Ge i e ƒ GHd Ge i ƒ  GHHe d d d d d d ƒ Z e GHe d ƒ Z e GHe d ƒ Z e GHe i ƒ  Z d Ge Gd Ge i e ƒ GHe e ƒ Z e i ƒ  Ge i Ge i GHHe d d d ƒ Z e d d d ƒ Z e e Z y e e Wn e j
 o n Xy e e Wn e j
 o n Xy e e Wn e j
 o n Xd GHHe d d d ƒ Z e d d d ƒ Z d GHHe d d d ƒ Z d  GHxÑ e d! d" ƒ D]¿ Z e d# e Z yŠ y Wn< e  j
 o0 d$ GHd% e e i ƒ  e i ƒ  i ƒ  f GHn Xy Wn< e  j
 o0 d& GHd% e e i ƒ  e i ƒ  i ƒ  f GHn XWn e! j
 o Z" d' e GHn Xq²Wd( GHe d) d* d! d d+ d ƒ Z e e i# ƒ  ƒ Z$ d, Ge e$ j d- p d. GHd/ Ge i# ƒ  e$ i# ƒ  j d0 p d1 GHd2 Ge e$ Gd3 Ge i% e$ i% GHd4 Ge& e e$ d5 ƒ d6 j d0 p d1 GHHd7 „  Z' d8 GHyµe d9 j ooxhe d: d; ƒ e d d< ƒ f D]HZ( e) Z* x8e( D]0Z+ e+ Ge i, i- ƒ  xe d d= ƒ D]Z. xü e d d> ƒ D]ë Z/ yF e e+ e. e/ d ƒ Z e0 e+ e. e/ d ƒ Z1 e' e+ e. e/ ƒ \ Z2 Z3 Wn e4 j
 o
 qºn Xe* oy y Wnn e  j
 ob d? GHd@ e* e* d f GHdA e e i5 e2 f GHdB e1 e1 i5 e3 f GHHe i6 ƒ  He i d ƒ n Xn e Z* qºWq¤Wq}WHqjWn6x2e d d< ƒ f D]Z( e) Z* xe( D]Z+ e+ Ge i, i- ƒ  xì e d d= ƒ D]Û Z. xÒ e d d> ƒ D]Á Z/ y1 e e+ e. e/ d ƒ Z e' e+ e. e/ ƒ \ Z2 Z3 Wn e4 j
 o
 qn Xe* od y WnY e  j
 oM d? GHd@ e* e* d f GHdA e e i5 e2 f GHHe i6 ƒ  He i d ƒ n Xn e Z* qWqWqàWHqÍWWn e7 j
 o HdC GHn XdD GHHe o	 dE GHn dF GHyD e i8 d6 d6 ƒ e	 i8 d6 d6 ƒ e i8 d6 d ƒ e	 i8 d6 d ƒ Wn@ e9 j
 o4 HdG dH GHdI GHHdJ GHdK GHdL GHdM GHdG dH GHn Xe d d d ƒ e: dN d dO d dP d6 dQ d6 dR d6 ƒ Z; e d d d ƒ e: dN d dO dS dP d6 dQ d6 dR d6 ƒ Z< dT e; i8 ƒ  e i= e; i ƒ  ƒ f GHdT e< i8 ƒ  e i= e< i ƒ  ƒ f GHy Wn< e  j
 o0 HdG dH GHdI GHHdU GHdV GHdW GHHdG dH GHn XdX e i e i= e; i ƒ  ƒ ƒ dS  e; i ƒ  dS  f GHdX e i e i= e< i ƒ  ƒ ƒ dS  e< i ƒ  dS  f GHy WnA e  j
 o5 HdG dH GHdI GHHdY GHdZ GHd[ GHdW GHHdG dH GHn XHd\ GHd] Z Z> d^ Z? d6 Z@ yÞ x× d oÏ e d_ d` j  o e Gn eA e e i e ƒ dS  ƒ Z y e iB ƒ  Z Wn e! j
 o Pn Xe e j o+ da Ge Gdb Ge Gd2 Ge e GHe@ d Z@ n y e dc Z Wn eC j
 o Pn Xe e? j o Pn q{	WWn e7 j
 o HdC GHn XHdd e> e f GHde GHHdf GHHdg k  lD ZD y eD iE ƒ  Wn@ e9 j
 o4 dG dH GHdI GHHdh GHdi GHdj GHdW GHHdG dH GHn XHdk GHHdl k  lF ZF eF iE ƒ  Hdm GHd S(n   (   s   *(   s   __version__Ns   Testing mxDateTime versions:   *** You have to run the test suite in non-optimized mode !i   i! f55931.522913000001s	   as ticks:s   time.gmtime:s   (note the seconds)s   time.localtime:s   tuple:ip  il  i   i   f34.5f12345.6f-12345.6s   ticks:s
   localtime:iÍ  i   i   s   Number protocol ok.iÐ  i   i	   i
   s
   Deltas ok.i   s   UTC -> local time -> UTCi   im  f0.041666000000000002s1       Problem (local time) -- DST switching time ?:s       %s -> %s -> %ss/       Problem (gmt time) -- DST switching time ?:s   *** Problem: %ss   ok.iÎ  i   i(   s,   DateTime->COM Date->DateTime rounding error:s   nos   yess   COM Dates compare:s   equals	   not equals   diff =s   in seconds:s   using cmp(,,0.5):f0.5i    c    s    d | d } |  d | } | d | d } | d | d d | d | d	 | d
 | d d } | d | d d | d | d	 d } | | f Sd  S(   Ni   i   iÀ  i   i2  i   i
   im  i   id   i  i-}  iS}  (   s   months   as   years   ys   ms   days   gJDNs   jJDN(   s   years   months   days   as   gJDNs   jJDNs   ys   m(    (    sE   /mit/seven/lib/python2.2/site-packages/mx/DateTime/mxDateTime/test.pys   testjdn‰ s    :*s?   Running constructor test... (this can take up to a few minutes)s   1.3.0iœÿÿÿid   i5  i   i    s   *** Test failed for:s     p = %s, p+1 = %s ands$     t = %s, jdn=%i; jdn reference = %is%     jt = %s, jdn=%i; jdn reference = %is   Interrupted.s   Date construction works.s   Non zero testing works.s"   Converting ticks and DST handling.s   -iH   s   WARNING:s4   The mktime() C API on your platform does not supports4   setting the DST flag to anything other than -1. Thiss2   will cause the datetime.ticks() method to raise ans0   error in case you pass a DST flag other than -1.s   days   months   hours   minutes   secondi   s   %.15f == %.15f ?s>   Conversion from mx.DateTime instances to ticks is not relyables;   on your platform. Please run "python testticks.py" and sends,   the output to the author at mal@lemburg.com.s
   %s == %s ?s<   time.localtime() and time.mktime() are not inverse functionss:   on your platform. This may lead to strange results in somes7   applications. Please run "python testticks.py" and sends9   Testing .gmticks()... (this can take up to a few minutes)ipëà6i€x‘i'  i   s    Ooops:s   t =i'  s    Tested ticks range %i to %i.s	   ...Works.s   Importing subpackage Feasts.(   s   Feastss>   Subpackges ISO and ARPA will not work on your platform becauses5   mxDateTime found no working API to query the timezones@   for a given date/time. Please run "python testticks.py" and sends   Importing subpackage Parser.(   s   Parsers   Works.(G   s   mx.DateTimes   __version__s   times   syss	   tracebacks	   __debug__s   exits   DateTimeFromAbsDateTimes   ts   winters   reprs   floats   xs   gmtimes	   localtimes   tuples   summers	   Timestamps   DateTimeFromCOMDates   DateTimeFromTickss   absdates   abstimes   Dates   t1s   t2s   ds	   TypeErrors   as   bs   DateTimes   ranges   is   AssertionErrors   Errors   whys   COMDates   cs   seconds   cmps   testjdns   suites   Nones   ps   years   stdouts   flushs   months   days   JulianDateTimes   jts   ref_gregs   ref_juls
   RangeErrors   jdns	   print_excs   KeyboardInterrupts   tickss   SystemErrors   RelativeDateTimes   date1s   date2s   mktimes   starts   stops   oopss   applys   gmtickss   OverflowErrors   Feastss   _tests   Parser(    s   summers   Parsers   testjdns   years   date1s   date2s   winters   starts   days   suites   __version__s   oopss   as   jts   stops   ref_gregs   syss   ref_juls   months   whys   cs   bs   ds   is	   tracebacks   t2s   Feastss   t1s   ps   ts   times   x(    (    sE   /mit/seven/lib/python2.2/site-packages/mx/DateTime/mxDateTime/test.pys   ? s8  			    
                )-&&	         
	        
	
		77$$ 	55 	
 
 	
