|
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/test/ |
Upload File : |
mò
Ð=Ec @ si d k Z d k Z d k Z d k Z d k Z d k l a d „ Z d „ Z d „ Z d „ Z
e ƒ d S( N( s verbosec C sÊ y) d k } | i i i | i i i ƒ Wn/ t j
o# d k } | i | i d ƒ n Xt i ƒ } t | ƒ d a xL t
d d ƒ D]; } x2 t
d ƒ D]$ } t | | | d d d ƒ qš Wq‡ Wd S( Nt Ci iûÿÿÿi i id i i ( t javat utilt Localet
setDefaultt USt ImportErrort localet setlocalet LC_TIMEt timet nowt strftestt verboset ranget jt i( R R R R R ( ( t( /usr/lib/python2.4/test/test_strftime.pyt main s
c C sd t i | ƒ } | i t i | ƒ | ƒ } | i d d ƒ } | i d d ƒ } | i d d ƒ } | S( s Escape text to deal with possible locale values that have regex
syntax while allowing regex syntax used for the comparison.s \%t %s \:t :s \?t ?N( t ret escapet textt new_textt replacet ampm( R R R ( ( R t escapestr s c C s‹ t o d Gt i | ƒ GHn t t | ƒ ƒ d } t i | ƒ } t i | ƒ } | d d j o
d } n d } t i t i | d d d d d d d d d f ƒ ƒ } y- | d o t i
d } n t i
d } Wn t j
o
d
} n X| d d j o | d d }
n&