Tryag File Manager
Home
-
Turbo Force
Current Path :
/
usr
/
lib
/
python2.4
/
test
/
Upload File :
New :
File
Dir
//usr/lib/python2.4/test/test_strftime.pyc
mò ‚=5Dc @ 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&