Document cal-period extended behavior when handling mixture of cal-day and cal-month periods.
This commit is contained in:
		
							parent
							
								
									b4736c25eb
								
							
						
					
					
						commit
						efa0050669
					
				
					 1 changed files with 5 additions and 3 deletions
				
			
		|  | @ -214,11 +214,13 @@ end-month)```. | |||
| 
 | ||||
| 	(cal-month-in-period? p [m (*current-month*)]) | ||||
| 
 | ||||
| * ```p``` - a periods | ||||
| * ```m``` - a valid month - defaults to ```(*current-month*)``` | ||||
| * ```p``` - a period structure | ||||
| * ```m``` - a valid month or day - defaults to ```(*current-month*)``` | ||||
| 
 | ||||
| Returns ```#t``` if given month ```m``` lies within the period | ||||
| ```p```. | ||||
| ```p```. The period can be cal-day or cal-month period and is | ||||
| converted to appropriate cal-month period before checking. If ```m``` | ||||
| is a cal-day, it is converted to cal-month before testing. | ||||
| 
 | ||||
| 	(cal-month-in-periods? ps [m (*current-month*)]) | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue