+
    yȇi                        R t ^ RIHt ^ RIt^ RIHtHt ^ RIHu Hu H	t
 ^ RIHt ^ RIHt ]P                  ! . R,OR
7      R 4       t]P                   P#                  R]! R^^4      ^^3]! R^
^4      ^^3.4      R 4       t]P                   P#                  R]! R^^4      ^^3]! R^
^4      ^^3.4      R 4       t]P                   P#                  R^ ^]! R^^4      3^ R]! R^^4      3^R]! R^^4      3R-R]! R^
^4      3^ R	]! R^^4      3^ R]! R^^4      3.4      R 4       t]P                   P#                  R^R]! R4      3R.R]! R4      3^R]! R4      3R/^]! R4      3.4      R 4       tR t]P                   P#                  R]! R^^
4      ^^R0R0^ ^ /3]! RRR7      ^^R0R1^ ^/3.4      ]P                   P#                  R. R2O4      R  4       4       t]P                   P#                  R]! R!^^4      ^^R0R0^ ^ /3]! R"^^^^^4      ^^R0R1^ ^/3.4      ]P                   P#                  R. R3O4      R# 4       4       tR$ t]P                   P#                  R%^^.4      ]P                   P#                  R^R..4      R& 4       4       t]P                   P#                  R']! R!^^4      ^R/R^ R^ //3]! R"^
^^^^4      ^^R^R	^R^//3]! R"^
^^^^4      ^^R^R	^/R/R^ //3.4      ]P                   P#                  R^R/.4      R( 4       4       t]P                   P#                  R)^*^^*^^*^^)/3R4^R4^R.^R4/3.4      ]P                   P#                  R*. R5O4      R+ 4       4       tR# )6z9
Tests for helper functions in the cython tslibs.offsets
)datetimeN)get_firstbdayget_lastbdayroll_qtrday)	Timestampstartendbusiness_startbusiness_end)paramsc                     V P                   # N)param)requests   &s/Users/max/.openclaw/workspace/postharvest/venv/lib/python3.14/site-packages/pandas/tests/tslibs/test_liboffsets.pyday_optr      s    ==    zdt,exp_week_day,exp_last_day  i  c                     V P                  4       V8X  g   Q h\        V P                  V P                  4      V8X  g   Q hR # r   )weekdayr   yearmonth)dtexp_week_dayexp_last_days   &&&r   test_get_last_bdayr      s5     ::<<'''*l:::r   zdt,exp_week_day,exp_first_dayc                     V P                  4       V8X  g   Q h\        V P                  V P                  4      V8X  g   Q hR # r   )r   r   r   r   )r   r   exp_first_days   &&&r   test_get_first_bdayr   $   s5     ::<<'''"((+}<<<r   zmonths,day_opt,expectedi  c                 ^    \        R ^^4      p\        P                  ! W0VR7      V8X  g   Q hR# )r   r   N)r   
liboffsetsshift_month)monthsr   expectedr   s   &&& r   test_shift_month_dtr&   0   s-     
$B	B!!"g>(JJJr   z
1929-06-01z
1929-02-28z	1931-06-5z
1929-04-30c                 Z    \        R 4      p\        P                  ! W0VR7      V8X  g   Q hR# )z
1929-05-05r!   N)r   r"   r#   )r$   r   r%   tss   &&& r   test_shift_month_tsr)   @   s)     
<	 B!!"g>(JJJr   c                      \        R ^^4      p Rp\        P                  ! \        VR7      ;_uu_ 4        \        P
                  ! V ^VR7       RRR4       R#   + '       g   i     R# ; i)r   zthis should raisematchr!   N)r   pytestraises
ValueErrorr"   r#   r   r   s     r   test_shift_month_errorr1   N   sG    	$B	B!G	z	1	1r1g6 
2	1	1	1s   AA)	zother,expectedz
2014-03-15z
US/Eastern)tznc                 D    ^pRp\        WW4^R7      W,          8X  g   Q hR# )   r   modbyNr   otherr%   r3   r   r   s   &&&  r   test_roll_qtrday_yearr:   V   s'     EGur:hkIIIr   i    c                 D    ^pRp\        WW4^R7      W,          8X  g   Q hR# )   r	   r6   Nr   r8   s   &&&  r   test_roll_qtrday_year2r>   g   s'     EGur:hkIIIr   c            
          \        R ^^4      p Rp\        P                  ! \        VR7      ;_uu_ 4        \	        V ^^V^R7       RRR4       R#   + '       g   i     R# ; i)r   foor+   )r3   r   r   r7   N)r   r-   r.   r/   r   r0   s     r   test_get_day_of_month_errorrA   x   sG     
$B	BG	z	1	1B!2wbA 
2	1	1	1s   AA 	r   c                     ^RR^^/^RR^^//p\        R^
^^^^4      p\        WBW^R7      W1,          V,          8X  g   Q hR# )r5   r;   r6   N)r   r   )r   r   r3   r%   r9   s   &&&  r   !test_roll_qtr_day_not_mod_unequalrE      sT     BAq>1r2q!n5HdB1b"-Euq9X_Q=OOOOr   zother,month,exp_dictc                 r    VP                  V/ 4      P                  WC4      p\        WW^R7      V8X  g   Q hR# )r5   r6   N)getr   )r9   r   exp_dictr3   r   r%   s   &&&&& r   test_roll_qtr_day_mod_equalrI      s6    , ||Ar"&&w2Huq9XEEEr   z
n,expectedcomparec                 N    \         P                  ! ^W4      W,          8X  g   Q hR# )   N)r"   roll_convention)r3   r%   rJ   s   &&&r   test_roll_conventionrN      s"    
 %%b!59JJJJr   )r   r	   r
   r   iorC   i)   rP       )   rP   rR   )rL         )__doc__r   r-   pandas._libs.tslibs.ccalendarr   r   pandas._libs.tslibs.offsets_libstslibsoffsetsr"   r   pandasr   fixturer   markparametrizer   r   r&   r)   r1   r:   r>   rA   rE   rI   rN    r   r   <module>rb      s     1 0 3  IJ K "	$B	B'	$B	B';;
 #	$1	q!$	$A	1%==
 	
Br2&'	
D(4R()	
GXdB*+	uhtR,-	
NHT2r23	
htR34
K
K
 	
GY|,-	UIl+,	T9[)*	R<()	KK
7  
$2	Ar2q! 45	<L	1Aq"b!Q3GH	 j)J *J  
$2	Ar2q! 45	4B2r	*Q2r1a,@A	 j)J *JB 1a&)q"g&P ' *P  
$2	B!5Eq(I#JK dB1b"->1.>BC	
 dB1b"->1-rGQ<@	
& q"g&F ''(F BRBB/02B2r27N2OP K0K 1Kr   